diff --git a/Software/src/config.cpp b/Software/src/config.cpp index 9ea6e19..f9e4b55 100644 --- a/Software/src/config.cpp +++ b/Software/src/config.cpp @@ -36,7 +36,7 @@ void EEPROM_Process() case EE_CFG_FORMAT: FormatConfig_EEPROM(); globals.requestEEAction = EE_IDLE; - globals.systemStatus = sysStat_Shutdown; + GetConfig_EEPROM(); Debug_pushMessage("Formated EEPROM CFG\n"); break; case EE_PDS_SAVE: @@ -52,11 +52,14 @@ void EEPROM_Process() case EE_PDS_FORMAT: FormatPersistence_EEPROM(); globals.requestEEAction = EE_IDLE; + GetPersistence_EEPROM(); Debug_pushMessage("Formated EEPROM PDS\n"); break; case EE_FORMAT_ALL: FormatConfig_EEPROM(); FormatPersistence_EEPROM(); + GetConfig_EEPROM(); + GetPersistence_EEPROM(); globals.requestEEAction = EE_IDLE; Debug_pushMessage("Formated EEPROM ALL\n"); break;