summaryrefslogtreecommitdiff
path: root/firmware/drivers/button.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/button.c')
-rw-r--r--firmware/drivers/button.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index c81b629f6d..f2408d891e 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -50,9 +50,7 @@ struct event_queue button_queue SHAREDBSS_ATTR;
50static long lastbtn; /* Last valid button status */ 50static long lastbtn; /* Last valid button status */
51static long last_read; /* Last button status, for debouncing/filtering */ 51static long last_read; /* Last button status, for debouncing/filtering */
52static intptr_t button_data; /* data value from last message dequeued */ 52static intptr_t button_data; /* data value from last message dequeued */
53#ifdef HAVE_LCD_BITMAP
54static bool flipped; /* buttons can be flipped to match the LCD flip */ 53static bool flipped; /* buttons can be flipped to match the LCD flip */
55#endif
56#ifdef HAVE_BACKLIGHT 54#ifdef HAVE_BACKLIGHT
57static bool filter_first_keypress; 55static bool filter_first_keypress;
58#ifdef HAVE_REMOTE_LCD 56#ifdef HAVE_REMOTE_LCD
@@ -535,9 +533,7 @@ void button_init(void)
535 533
536 reset_poweroff_timer(); 534 reset_poweroff_timer();
537 535
538#ifdef HAVE_LCD_BITMAP
539 flipped = false; 536 flipped = false;
540#endif
541#ifdef HAVE_BACKLIGHT 537#ifdef HAVE_BACKLIGHT
542 filter_first_keypress = false; 538 filter_first_keypress = false;
543#ifdef HAVE_REMOTE_LCD 539#ifdef HAVE_REMOTE_LCD