diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-02-24 15:40:55 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-02-24 15:40:55 +0000 |
commit | b902428180c11def61f2d3caa2612b9f80d7d41a (patch) | |
tree | f0176467673c069ff8adc33d67a05eefeeb7c417 /firmware/drivers/button.c | |
parent | c296ac5d659dc3276a925c49c94f8d79a47dd0f4 (diff) | |
download | rockbox-b902428180c11def61f2d3caa2612b9f80d7d41a.tar.gz 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/button.c')
-rw-r--r-- | firmware/drivers/button.c | 3 |
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) | |||
706 | 706 | ||
707 | #endif /* CONFIG_KEYPAD */ | 707 | #endif /* CONFIG_KEYPAD */ |
708 | 708 | ||
709 | int counter; | ||
710 | /* | 709 | /* |
711 | * Get button pressed from hardware | 710 | * Get button pressed from hardware |
712 | */ | 711 | */ |
@@ -1052,8 +1051,6 @@ static int button_read(void) | |||
1052 | static bool hold_button = false; | 1051 | static bool hold_button = false; |
1053 | static bool remote_hold_button = false; | 1052 | static bool remote_hold_button = false; |
1054 | 1053 | ||
1055 | counter ++; | ||
1056 | |||
1057 | hold_button = button_hold(); | 1054 | hold_button = button_hold(); |
1058 | remote_hold_button = remote_button_hold(); | 1055 | remote_hold_button = remote_button_hold(); |
1059 | 1056 | ||