Index: firmware/App/Controllers/Buttons.c =================================================================== diff -u -r94895e32fe18e78b98fe3bb7786838cf00afdbfa -r8377b4e6ed494cbfc5dfc2bd9ad3c89b85b333cd --- firmware/App/Controllers/Buttons.c (.../Buttons.c) (revision 94895e32fe18e78b98fe3bb7786838cf00afdbfa) +++ firmware/App/Controllers/Buttons.c (.../Buttons.c) (revision 8377b4e6ed494cbfc5dfc2bd9ad3c89b85b333cd) @@ -256,7 +256,9 @@ { offRequestAwaitingUserConfirmation = TRUE; offRequestPendingTimer = 0; +#ifndef SIMULATE_UI sendOffButtonMsgToUI( OFF_BUTTON_CMD_PROMPT_USER_TO_CONFIRM ); +#endif } else { // send rejection response to power off request @@ -347,6 +349,9 @@ { // if off request in a valid mode, send to UI for user confirmation userConfirmOffButton( OFF_BUTTON_RSP_USER_REQUESTS_POWER_OFF ); +#ifdef SIMULATE_UI + userConfirmOffButton( OFF_BUTTON_RSP_USER_CONFIRMS_POWER_OFF ); +#endif } prevOffButtonState = getOffButtonState(); }