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(); app_setup();
} }
bool can_sleep = true; static bool can_sleep = true;
if (event.bit.event_type) { if (event.bit.event_type) {
event.bit.subsecond = launcher_state.subsecond; event.bit.subsecond = launcher_state.subsecond;