summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2024-01-10 09:06:52 +0100
committerChristian Soffke <christian.soffke@gmail.com>2024-01-12 13:15:49 -0500
commitfd12225861ec6fe810ebbfb7c669635e60ecbfc8 (patch)
treee712c16785282644eacacfe4ff16446f04013910
parent3080892d2100342cfdd3c714c2ccf9fd65120563 (diff)
downloadrockbox-fd12225861.tar.gz
rockbox-fd12225861.zip
plugins: alarmclock: fix input lag
Change-Id: I6e2e9723aea511eef32116c92105822cc8a16271
-rw-r--r--apps/plugins/alarmclock.c6
1 files 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;