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 /apps/plugins/flipit.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 'apps/plugins/flipit.c')
-rw-r--r-- | apps/plugins/flipit.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/plugins/flipit.c b/apps/plugins/flipit.c index 294bee8f5b..91d83e9291 100644 --- a/apps/plugins/flipit.c +++ b/apps/plugins/flipit.c | |||
@@ -534,8 +534,6 @@ static int spots[20]; | |||
534 | static int toggle[20]; | 534 | static int toggle[20]; |
535 | static int cursor_pos, moves; | 535 | static int cursor_pos, moves; |
536 | 536 | ||
537 | #ifdef HAVE_LCD_BITMAP | ||
538 | |||
539 | #include "pluginbitmaps/flipit_cursor.h" | 537 | #include "pluginbitmaps/flipit_cursor.h" |
540 | #include "pluginbitmaps/flipit_tokens.h" | 538 | #include "pluginbitmaps/flipit_tokens.h" |
541 | 539 | ||
@@ -595,8 +593,6 @@ static void draw_info_panel(void) | |||
595 | GRID_TOP + 4*(TK_HEIGHT+TK_SPACE) + 2, s ); | 593 | GRID_TOP + 4*(TK_HEIGHT+TK_SPACE) + 2, s ); |
596 | } | 594 | } |
597 | 595 | ||
598 | #endif /* LCD */ | ||
599 | |||
600 | /* clear the cursor where it is */ | 596 | /* clear the cursor where it is */ |
601 | static inline void clear_cursor(void) | 597 | static inline void clear_cursor(void) |
602 | { | 598 | { |
@@ -829,7 +825,6 @@ enum plugin_status plugin_start(const void* parameter) | |||
829 | 825 | ||
830 | rb->splash(HZ, "FlipIt!"); | 826 | rb->splash(HZ, "FlipIt!"); |
831 | 827 | ||
832 | #ifdef HAVE_LCD_BITMAP | ||
833 | /* print instructions */ | 828 | /* print instructions */ |
834 | rb->lcd_clear_display(); | 829 | rb->lcd_clear_display(); |
835 | rb->lcd_setfont(FONT_SYSFIXED); | 830 | rb->lcd_setfont(FONT_SYSFIXED); |
@@ -909,7 +904,7 @@ enum plugin_status plugin_start(const void* parameter) | |||
909 | #endif | 904 | #endif |
910 | 905 | ||
911 | rb->lcd_update(); | 906 | rb->lcd_update(); |
912 | #endif | 907 | |
913 | rb->button_get_w_tmo(HZ*3); | 908 | rb->button_get_w_tmo(HZ*3); |
914 | 909 | ||
915 | rb->lcd_clear_display(); | 910 | rb->lcd_clear_display(); |