Improved config memory

This commit is contained in:
2024-04-13 14:44:52 +03:00
parent 91a7247bee
commit 3045b88413
3 changed files with 44 additions and 69 deletions

View File

@@ -11,7 +11,7 @@ namespace logic {
class CfgMemory
{
protected:
protected:
uint8_t mem_btn_force;
uint8_t mem_bmode;
uint8_t mem_pot_mode;
@@ -27,6 +27,7 @@ class CfgMemory
CfgMemory(void);
~CfgMemory(void);
uint8_t cfg_good;
uint8_t btn_force;
uint8_t bmode;
uint8_t pot_mode;
@@ -42,6 +43,7 @@ class CfgMemory
void save(void);
void save_all(void);
void restore(void);
uint8_t checksum(void);
};
/**** Public function declarations ****/