forked from len0rd/rockbox
plugins: alarmclock: fix input lag
Change-Id: I6e2e9723aea511eef32116c92105822cc8a16271
This commit is contained in:
parent
3080892d21
commit
fd12225861
1 changed files with 3 additions and 3 deletions
|
@ -136,6 +136,9 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
pause_audio();
|
pause_audio();
|
||||||
|
|
||||||
while(!quit) {
|
while(!quit) {
|
||||||
|
FOR_NB_SCREENS(i) {
|
||||||
|
draw(rb->screens[i]);
|
||||||
|
}
|
||||||
button = get_button();
|
button = get_button();
|
||||||
|
|
||||||
#if (CONFIG_KEYPAD == IPOD_1G2G_PAD) \
|
#if (CONFIG_KEYPAD == IPOD_1G2G_PAD) \
|
||||||
|
@ -147,9 +150,6 @@ enum plugin_status plugin_start(const void* parameter)
|
||||||
#endif
|
#endif
|
||||||
quit = true;
|
quit = true;
|
||||||
|
|
||||||
FOR_NB_SCREENS(i) {
|
|
||||||
draw(rb->screens[i]);
|
|
||||||
}
|
|
||||||
if (waiting) {
|
if (waiting) {
|
||||||
if (rem_seconds() <= 0) {
|
if (rem_seconds() <= 0) {
|
||||||
quit = done = true;
|
quit = done = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue