diff options
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 | ||