aptMainLoop(): Add handling for APP_PREPARE_SLEEPMODE

This commit is contained in:
fincs 2014-11-05 00:24:24 +01:00
parent e4aeaba747
commit e460e6a673

View File

@ -408,9 +408,11 @@ bool aptMainLoop()
case APP_SUSPENDING:
aptReturnToMenu();
break;
case APP_PREPARE_SLEEPMODE:
aptSignalReadyForSleep();
// Fall through
default:
//case APP_NOTINITIALIZED:
//case APP_PREPARE_SLEEPMODE:
//case APP_SLEEPMODE:
aptWaitStatusEvent();
break;