diff --git a/RgbLed.cpp b/RgbLed.cpp index b4cd417..3e5dcfd 100644 --- a/RgbLed.cpp +++ b/RgbLed.cpp @@ -28,7 +28,7 @@ void setup() { pinMode(CONFIG_SWITCH, INPUT_PULLUP); - EEPROM.begin(512); + EEPROM.begin(1024); EEPROM.get(EEPROM_ADDR, configBlock); diff --git a/configuration.cpp b/configuration.cpp index 41b9f92..3de632e 100644 --- a/configuration.cpp +++ b/configuration.cpp @@ -349,7 +349,7 @@ void configServeGetConfiguration() { showConfiguration(); - EEPROM.begin(512); + EEPROM.begin(1024); EEPROM.put(EEPROM_ADDR, configBlock); EEPROM.commit(); @@ -430,4 +430,4 @@ void showConfiguration() { Serial.println("---"); -} \ No newline at end of file +}