From b902428180c11def61f2d3caa2612b9f80d7d41a Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Fri, 24 Feb 2006 15:40:55 +0000 Subject: Ooops. Forgot to remove some debug code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8830 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/button.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'firmware') 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(); -- cgit