From 658026e6267277b27d297c481728f74d160a8481 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 17 Jul 2020 10:31:31 -0400 Subject: [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 --- apps/plugins/chessclock.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'apps/plugins/chessclock.c') 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 @@ /* leave first line blank on bitmap display, for pause icon */ -#ifdef HAVE_LCD_BITMAP #define FIRST_LINE 1 -#else -#define FIRST_LINE 0 -#endif #define MAX_PLAYERS 10 @@ -597,7 +593,6 @@ enum plugin_status plugin_start(const void* parameter) return PLUGIN_OK; } -#ifdef HAVE_LCD_BITMAP static void show_pause_mode(bool enabled) { static const char pause_icon[] = {0x00,0x7f,0x7f,0x00,0x7f,0x7f,0x00}; @@ -611,9 +606,6 @@ static void show_pause_mode(bool enabled) rb->lcd_set_drawmode(DRMODE_SOLID); } } -#else -#define show_pause_mode(enabled) rb->lcd_icon(ICON_PAUSE, enabled) -#endif static int run_timer(int nr) { -- cgit v1.2.3