make it clearer to read
This commit is contained in:
parent
fee5aec4d1
commit
912165d9ee
2 changed files with 23 additions and 8 deletions
|
@ -18,13 +18,14 @@ namespace fw
|
|||
#ifdef ESP32
|
||||
Preferences memory;
|
||||
#elif defined(ESP8266)
|
||||
uint16_t eeprom_size = 1000;
|
||||
uint8_t security_number = 93;
|
||||
uint16_t eeprom_settings_head = 0;
|
||||
uint16_t eeprom_rules_head = 10;
|
||||
const uint16_t eeprom_size = 1000;
|
||||
const uint8_t security_number = 93;
|
||||
const uint16_t eeprom_settings_head = 0;
|
||||
const uint16_t eeprom_rules_head = 10;
|
||||
#endif
|
||||
ok_t mount_spiffs();
|
||||
void setup_eeprom();
|
||||
uint16_t eeprom_rule_position(uint8_t);
|
||||
|
||||
protected:
|
||||
uint8_t retrieve_settings_value(const char *);
|
||||
|
|
Reference in a new issue