Simulator exit issue fixed
This commit is contained in:
@@ -128,6 +128,9 @@ void FullScreenDialog::runForever()
|
|||||||
auto check = pwrCheck();
|
auto check = pwrCheck();
|
||||||
if (check == e_power_off) {
|
if (check == e_power_off) {
|
||||||
boardOff();
|
boardOff();
|
||||||
|
#if defined(SIMU)
|
||||||
|
return;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else if (check == e_power_press) {
|
else if (check == e_power_press) {
|
||||||
RTOS_WAIT_MS(20);
|
RTOS_WAIT_MS(20);
|
||||||
|
|||||||
Reference in New Issue
Block a user