first command works
This commit is contained in:
parent
f5aeeb9d23
commit
cef2749111
@ -28,7 +28,7 @@ void setup() {
|
|||||||
pinMode(CONFIG_SWITCH, INPUT_PULLUP);
|
pinMode(CONFIG_SWITCH, INPUT_PULLUP);
|
||||||
|
|
||||||
|
|
||||||
EEPROM.begin(512);
|
EEPROM.begin(1024);
|
||||||
EEPROM.get(EEPROM_ADDR, configBlock);
|
EEPROM.get(EEPROM_ADDR, configBlock);
|
||||||
|
|
||||||
|
|
||||||
|
@ -349,7 +349,7 @@ void configServeGetConfiguration() {
|
|||||||
|
|
||||||
showConfiguration();
|
showConfiguration();
|
||||||
|
|
||||||
EEPROM.begin(512);
|
EEPROM.begin(1024);
|
||||||
EEPROM.put(EEPROM_ADDR, configBlock);
|
EEPROM.put(EEPROM_ADDR, configBlock);
|
||||||
EEPROM.commit();
|
EEPROM.commit();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user