eeprom space for 15 rules
This commit is contained in:
parent
c8822d79b5
commit
221a2f45bd
1 changed files with 4 additions and 1 deletions
|
@ -18,7 +18,10 @@ namespace fw
|
|||
#ifdef ESP32
|
||||
Preferences memory;
|
||||
#elif defined(ESP8266)
|
||||
const uint16_t eeprom_size = 1000;
|
||||
// Storage per firewall rule is 34 Byte
|
||||
// Space for 15 Rules is 510 Byte
|
||||
// plus 10 byte for settings
|
||||
const uint16_t eeprom_size = 520;
|
||||
const uint8_t security_number = 93;
|
||||
const uint16_t eeprom_settings_head = 0;
|
||||
const uint16_t eeprom_amout_of_rules_head = eeprom_settings_head + 1;
|
||||
|
|
Reference in a new issue