Fix simu compilation, simu will now quit after a manual EEPROM reset

This commit is contained in:
Andre Bernet
2015-03-20 14:17:34 +04:00
parent bf0a914471
commit b80cc973fe
@@ -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);