diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2024-01-10 09:06:52 +0100 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2024-01-12 13:15:49 -0500 |
commit | fd12225861ec6fe810ebbfb7c669635e60ecbfc8 (patch) | |
tree | e712c16785282644eacacfe4ff16446f04013910 /apps/plugins/alarmclock.c | |
parent | 3080892d2100342cfdd3c714c2ccf9fd65120563 (diff) | |
download | rockbox-fd12225861ec6fe810ebbfb7c669635e60ecbfc8.tar.gz rockbox-fd12225861ec6fe810ebbfb7c669635e60ecbfc8.zip |
plugins: alarmclock: fix input lag
Change-Id: I6e2e9723aea511eef32116c92105822cc8a16271
Diffstat (limited to 'apps/plugins/alarmclock.c')
-rw-r--r-- | apps/plugins/alarmclock.c | 6 |
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) | |||
136 | pause_audio(); | 136 | pause_audio(); |
137 | 137 | ||
138 | while(!quit) { | 138 | while(!quit) { |
139 | FOR_NB_SCREENS(i) { | ||
140 | draw(rb->screens[i]); | ||
141 | } | ||
139 | button = get_button(); | 142 | button = get_button(); |
140 | 143 | ||
141 | #if (CONFIG_KEYPAD == IPOD_1G2G_PAD) \ | 144 | #if (CONFIG_KEYPAD == IPOD_1G2G_PAD) \ |
@@ -147,9 +150,6 @@ enum plugin_status plugin_start(const void* parameter) | |||
147 | #endif | 150 | #endif |
148 | quit = true; | 151 | quit = true; |
149 | 152 | ||
150 | FOR_NB_SCREENS(i) { | ||
151 | draw(rb->screens[i]); | ||
152 | } | ||
153 | if (waiting) { | 153 | if (waiting) { |
154 | if (rem_seconds() <= 0) { | 154 | if (rem_seconds() <= 0) { |
155 | quit = done = true; | 155 | quit = done = true; |