summaryrefslogtreecommitdiff
path: root/firmware/drivers/button.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-17 10:31:31 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit658026e6267277b27d297c481728f74d160a8481 (patch)
tree915a9d2bb48469bdd5b9127dc19a61f230721a6c /firmware/drivers/button.c
parent8cb555460ff79e636a7907fb2589e16db98c8600 (diff)
downloadrockbox-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.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