Third
This commit is contained in:
+3
-5
@@ -3,14 +3,12 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include "mode.h"
|
||||
|
||||
typedef struct {
|
||||
uint32_t id;
|
||||
uint16_t version;
|
||||
char device_name[32];
|
||||
uint32_t baud_rate;
|
||||
uint8_t log_level;
|
||||
bool feature_enabled;
|
||||
struct mode_config mode_config;
|
||||
} app_config_t;
|
||||
|
||||
int config_init(void);
|
||||
@@ -18,4 +16,4 @@ int config_save(const app_config_t *cfg);
|
||||
void config_update(void);
|
||||
void config_get(app_config_t *cfg);
|
||||
|
||||
#endif /* CONFIG_H */
|
||||
#endif /* CONFIG_H */
|
||||
|
||||
Reference in New Issue
Block a user