This commit is contained in:
archmina
2026-05-08 03:23:09 +03:00
parent a341b89d16
commit e3e548ca90
30 changed files with 1543 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef CONFIG_H
#define CONFIG_H
#include <stdint.h>
#include <stdbool.h>
typedef struct {
uint32_t id;
uint16_t version;
char device_name[32];
uint32_t baud_rate;
uint8_t log_level;
bool feature_enabled;
} app_config_t;
int config_init(void);
int config_save(const app_config_t *cfg);
void config_update(void);
void config_get(app_config_t *cfg);
#endif /* CONFIG_H */