summaryrefslogtreecommitdiffstats
path: root/firmware/drivers
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-02-24 15:40:55 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-02-24 15:40:55 +0000
commitb902428180c11def61f2d3caa2612b9f80d7d41a (patch)
treef0176467673c069ff8adc33d67a05eefeeb7c417 /firmware/drivers
parentc296ac5d659dc3276a925c49c94f8d79a47dd0f4 (diff)
downloadrockbox-b902428180c11def61f2d3caa2612b9f80d7d41a.tar.gz
rockbox-b902428180c11def61f2d3caa2612b9f80d7d41a.tar.bz2
rockbox-b902428180c11def61f2d3caa2612b9f80d7d41a.zip
Ooops. Forgot to remove some debug code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8830 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/button.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index f47df82e8c..9f9ed1243e 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -706,7 +706,6 @@ void button_set_flip(bool flip)
#endif /* CONFIG_KEYPAD */
-int counter;
/*
* Get button pressed from hardware
*/
@@ -1052,8 +1051,6 @@ static int button_read(void)
static bool hold_button = false;
static bool remote_hold_button = false;
- counter ++;
-
hold_button = button_hold();
remote_hold_button = remote_button_hold();