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/chessclock.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/chessclock.c')
-rw-r--r-- | apps/plugins/chessclock.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/plugins/chessclock.c b/apps/plugins/chessclock.c index 6b2d436679..fea966213d 100644 --- a/apps/plugins/chessclock.c +++ b/apps/plugins/chessclock.c | |||
@@ -448,11 +448,7 @@ | |||
448 | 448 | ||
449 | 449 | ||
450 | /* leave first line blank on bitmap display, for pause icon */ | 450 | /* leave first line blank on bitmap display, for pause icon */ |
451 | #ifdef HAVE_LCD_BITMAP | ||
452 | #define FIRST_LINE 1 | 451 | #define FIRST_LINE 1 |
453 | #else | ||
454 | #define FIRST_LINE 0 | ||
455 | #endif | ||
456 | 452 | ||
457 | #define MAX_PLAYERS 10 | 453 | #define MAX_PLAYERS 10 |
458 | 454 | ||
@@ -597,7 +593,6 @@ enum plugin_status plugin_start(const void* parameter) | |||
597 | return PLUGIN_OK; | 593 | return PLUGIN_OK; |
598 | } | 594 | } |
599 | 595 | ||
600 | #ifdef HAVE_LCD_BITMAP | ||
601 | static void show_pause_mode(bool enabled) | 596 | static void show_pause_mode(bool enabled) |
602 | { | 597 | { |
603 | static const char pause_icon[] = {0x00,0x7f,0x7f,0x00,0x7f,0x7f,0x00}; | 598 | static const char pause_icon[] = {0x00,0x7f,0x7f,0x00,0x7f,0x7f,0x00}; |
@@ -611,9 +606,6 @@ static void show_pause_mode(bool enabled) | |||
611 | rb->lcd_set_drawmode(DRMODE_SOLID); | 606 | rb->lcd_set_drawmode(DRMODE_SOLID); |
612 | } | 607 | } |
613 | } | 608 | } |
614 | #else | ||
615 | #define show_pause_mode(enabled) rb->lcd_icon(ICON_PAUSE, enabled) | ||
616 | #endif | ||
617 | 609 | ||
618 | static int run_timer(int nr) | 610 | static int run_timer(int nr) |
619 | { | 611 | { |