diff --git a/src/AmsConfiguration.cpp b/src/AmsConfiguration.cpp index ca3b54d9..5f5d83b9 100644 --- a/src/AmsConfiguration.cpp +++ b/src/AmsConfiguration.cpp @@ -496,11 +496,11 @@ void AmsConfiguration::clear() { NtpConfig ntp; clearNtp(ntp); - EEPROM.put(CONFIG_NTP_START, domo); + EEPROM.put(CONFIG_NTP_START, ntp); EntsoeConfig entsoe; clearEntsoe(entsoe); - EEPROM.put(CONFIG_ENTSOE_START, domo); + EEPROM.put(CONFIG_ENTSOE_START, entsoe); EEPROM.put(EEPROM_CONFIG_ADDRESS, -1); EEPROM.commit();