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/stopwatch.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'apps/plugins/stopwatch.c') diff --git a/apps/plugins/stopwatch.c b/apps/plugins/stopwatch.c index c3fa3e15dd..6fca37d06f 100644 --- a/apps/plugins/stopwatch.c +++ b/apps/plugins/stopwatch.c @@ -23,11 +23,7 @@ -#ifdef HAVE_LCD_BITMAP #define TIMER_Y 1 -#else -#define TIMER_Y 0 -#endif #define LAP_Y TIMER_Y+1 #define MAX_LAPS 64 @@ -481,14 +477,10 @@ enum plugin_status plugin_start(const void* parameter) (void)parameter; -#ifdef HAVE_LCD_BITMAP int h; rb->lcd_setfont(FONT_UI); rb->lcd_getstringsize("M", NULL, &h); lines = (LCD_HEIGHT / h) - (LAP_Y); -#else - lines = 1; -#endif load_stopwatch(); -- cgit v1.2.3