diff options
Diffstat (limited to 'firmware/drivers/button.c')
-rw-r--r-- | firmware/drivers/button.c | 4 |
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; | |||
50 | static long lastbtn; /* Last valid button status */ | 50 | static long lastbtn; /* Last valid button status */ |
51 | static long last_read; /* Last button status, for debouncing/filtering */ | 51 | static long last_read; /* Last button status, for debouncing/filtering */ |
52 | static intptr_t button_data; /* data value from last message dequeued */ | 52 | static intptr_t button_data; /* data value from last message dequeued */ |
53 | #ifdef HAVE_LCD_BITMAP | ||
54 | static bool flipped; /* buttons can be flipped to match the LCD flip */ | 53 | static bool flipped; /* buttons can be flipped to match the LCD flip */ |
55 | #endif | ||
56 | #ifdef HAVE_BACKLIGHT | 54 | #ifdef HAVE_BACKLIGHT |
57 | static bool filter_first_keypress; | 55 | static 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 |