summaryrefslogtreecommitdiffstats
path: root/firmware/drivers
diff options
context:
space:
mode:
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();