Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 05fe075

Browse files
Fix build errors on raspberry pi (mysensors#1454)
1 parent 96856f0 commit 05fe075

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

‎hal/architecture/Linux/drivers/core/config.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ static int _config_create(const char *config_file);
3131
static int _config_parse_int(char *token, const char *name, int *value);
3232
static int _config_parse_string(char *token, const char *name, char **value);
3333

34+
struct config conf;
35+
3436
int config_parse(const char *config_file)
3537
{
3638
FILE *fptr;

‎hal/architecture/Linux/drivers/core/config.h‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ struct config {
3939
char *soft_hmac_key;
4040
char *soft_serial_key;
4141
char *aes_key;
42-
} conf;
42+
};
43+
44+
extern struct config conf;
4345

4446
int config_parse(const char *config_file);
4547
void config_cleanup(void);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /