mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
shorten the sleep for blocking key-gets to make it behave better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@776 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cc78063f70
commit
d68ee12d1b
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ int button_get(bool block)
|
||||||
do {
|
do {
|
||||||
bits = get_raw_button();
|
bits = get_raw_button();
|
||||||
if(block && !bits)
|
if(block && !bits)
|
||||||
x11_sleep(HZ/4);
|
x11_sleep(HZ/10);
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
} while(1);
|
} while(1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue