This commit is contained in:
Your Name
2026-05-21 10:24:42 +03:00
parent 2919aee9b7
commit 3a5e91c4bf
17 changed files with 350 additions and 148 deletions
+3 -5
View File
@@ -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 */