Fix simu compilation, simu will now quit after a manual EEPROM reset
This commit is contained in:
@@ -92,7 +92,11 @@ void menuGeneralVersion(uint8_t event)
|
||||
s_warning_result = 0;
|
||||
displayPopup(STR_EEPROMFORMATTING);
|
||||
eeErase(false);
|
||||
#if !defined(SIMU)
|
||||
NVIC_SystemReset();
|
||||
#else
|
||||
exit(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
SIMPLE_MENU(STR_MENUVERSION, menuTabGeneral, e_Vers, 1);
|
||||
|
||||
Reference in New Issue
Block a user