Simulator exit issue fixed

This commit is contained in:
Bertrand Songis
2019-11-08 20:44:31 +01:00
parent 5280076b0a
commit 9bc62ea490
@@ -128,6 +128,9 @@ void FullScreenDialog::runForever()
auto check = pwrCheck();
if (check == e_power_off) {
boardOff();
#if defined(SIMU)
return;
#endif
}
else if (check == e_power_press) {
RTOS_WAIT_MS(20);