diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-17 10:31:31 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:20:13 +0000 |
commit | 658026e6267277b27d297c481728f74d160a8481 (patch) | |
tree | 915a9d2bb48469bdd5b9127dc19a61f230721a6c /firmware/drivers/button.c | |
parent | 8cb555460ff79e636a7907fb2589e16db98c8600 (diff) | |
download | rockbox-658026e6267277b27d297c481728f74d160a8481.tar.gz rockbox-658026e6267277b27d297c481728f74d160a8481.zip |
[4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice.
Note: I left behind lcd_bitmap in features.txt, because removing it
would require considerable work in the manual and the translations.
Change-Id: Ia8ca7761f610d9332a0d22a7d189775fb15ec88a
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 |