reload EEPROM after format to maintain DTCs
This commit is contained in:
parent
335b883043
commit
a563182f3e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user