make it clearer to read

This commit is contained in:
Florian Hoss 2022-04-24 13:50:30 +02:00
parent fee5aec4d1
commit 912165d9ee
2 changed files with 23 additions and 8 deletions

View file

@ -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 *);