mirror of
https://github.com/joeycastillo/second-movement.git
synced 2026-02-04 06:05:30 +00:00
immediately process events when coming out of deep sleep
This commit is contained in:
@ -1277,6 +1277,10 @@ bool app_loop(void) {
|
||||
// back to sleep (unless the user interacts with it in the meantime)
|
||||
_pending_sequence = NULL;
|
||||
}
|
||||
|
||||
// don't let the watch sleep when exiting deep sleep mode,
|
||||
// so that app_loop will run again and process the events that may have fired.
|
||||
can_sleep = false;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user