From 74e866250920cb35b4575e0cdad47f63d4ae871d Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Mon, 4 Oct 2021 11:57:57 -0400 Subject: [PATCH] launcher: track can_sleep between runloop invocations --- launcher/launcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/launcher.c b/launcher/launcher.c index 38a13b5..d688356 100644 --- a/launcher/launcher.c +++ b/launcher/launcher.c @@ -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;