diff options
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 | { |