summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-05-29 08:37:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-05-29 08:37:06 +0000
commitd68ee12d1bc45e80ed4911206dffcaa7b40231c2 (patch)
treee9273aa0246073be2dd80d42fe47cf0714ca8b78
parentcc78063f7063d7fb4f7c8a781d1b1fcfd0ae4d14 (diff)
downloadrockbox-d68ee12d1bc45e80ed4911206dffcaa7b40231c2.tar.gz
rockbox-d68ee12d1bc45e80ed4911206dffcaa7b40231c2.zip
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
-rw-r--r--uisimulator/x11/button-x11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/x11/button-x11.c b/uisimulator/x11/button-x11.c
index e41b720d6f..53639a37cd 100644
--- a/uisimulator/x11/button-x11.c
+++ b/uisimulator/x11/button-x11.c
@@ -109,7 +109,7 @@ int button_get(bool block)
109 do { 109 do {
110 bits = get_raw_button(); 110 bits = get_raw_button();
111 if(block && !bits) 111 if(block && !bits)
112 x11_sleep(HZ/4); 112 x11_sleep(HZ/10);
113 else 113 else
114 break; 114 break;
115 } while(1); 115 } while(1);