summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-06-19 16:24:22 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-06-19 16:24:22 +0000
commitae6d5982135aa487aa1a1c48d899f1a8dce29348 (patch)
treed9c63b0eaf05ecff778cb874af89922130b8b0c1 /firmware/drivers
parentc817963af9a8097116655189ffec9eee34e4ec24 (diff)
downloadrockbox-ae6d5982135aa487aa1a1c48d899f1a8dce29348.tar.gz
rockbox-ae6d5982135aa487aa1a1c48d899f1a8dce29348.zip
Fixed bounce bug
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1093 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/button.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index 20503fd708..906d511f25 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -68,8 +68,10 @@ static void button_tick(void)
68 if ( post ) 68 if ( post )
69 queue_post(&button_queue, btn, NULL); 69 queue_post(&button_queue, btn, NULL);
70 } 70 }
71 else 71 else {
72 repeat = false; 72 repeat = false;
73 count = 0;
74 }
73 75
74 lastbtn = btn; 76 lastbtn = btn;
75 tick = 0; 77 tick = 0;