launcher: track can_sleep between runloop invocations

This commit is contained in:
Joey Castillo 2021-10-04 11:57:57 -04:00
parent 0b60edb265
commit 74e8662509

View file

@ -145,7 +145,7 @@ bool app_loop() {
app_setup();
}
bool can_sleep = true;
static bool can_sleep = true;
if (event.bit.event_type) {
event.bit.subsecond = launcher_state.subsecond;