mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 19:20:30 +08:00
launcher: track can_sleep between runloop invocations
This commit is contained in:
parent
0b60edb265
commit
74e8662509
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue