From fd12225861ec6fe810ebbfb7c669635e60ecbfc8 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Wed, 10 Jan 2024 09:06:52 +0100 Subject: plugins: alarmclock: fix input lag Change-Id: I6e2e9723aea511eef32116c92105822cc8a16271 --- apps/plugins/alarmclock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/plugins/alarmclock.c b/apps/plugins/alarmclock.c index aa7c13d1a4..535097724f 100644 --- a/apps/plugins/alarmclock.c +++ b/apps/plugins/alarmclock.c @@ -136,6 +136,9 @@ enum plugin_status plugin_start(const void* parameter) pause_audio(); while(!quit) { + FOR_NB_SCREENS(i) { + draw(rb->screens[i]); + } button = get_button(); #if (CONFIG_KEYPAD == IPOD_1G2G_PAD) \ @@ -147,9 +150,6 @@ enum plugin_status plugin_start(const void* parameter) #endif quit = true; - FOR_NB_SCREENS(i) { - draw(rb->screens[i]); - } if (waiting) { if (rem_seconds() <= 0) { quit = done = true; -- cgit v1.2.3