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/main.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'apps/main.c') diff --git a/apps/main.c b/apps/main.c index 4f468fa65b..e1eccc0fa9 100644 --- a/apps/main.c +++ b/apps/main.c @@ -167,9 +167,7 @@ int main(void) screens[i].clear_display(); screens[i].update(); } -#ifdef HAVE_LCD_BITMAP list_init(); -#endif tree_gui_init(); /* Keep the order of this 3 * Must be done before any code uses the multi-screen API */ @@ -280,7 +278,6 @@ static void init_tagcache(void) talk_number(tagcache_get_max_commit_step(), true); } #endif -#ifdef HAVE_LCD_BITMAP if (lang_is_rtl()) { splashf(0, "[%d/%d] %s", ret, tagcache_get_max_commit_step(), @@ -291,12 +288,6 @@ static void init_tagcache(void) splashf(0, "%s [%d/%d]", str(LANG_TAGCACHE_INIT), ret, tagcache_get_max_commit_step()); } -#else - lcd_double_height(false); - lcd_putsf(0, 1, " DB [%d/%d]", ret, - tagcache_get_max_commit_step()); - lcd_update(); -#endif clear = true; } sleep(HZ/4); @@ -326,11 +317,9 @@ static void init(void) #ifdef HAVE_REMOTE_LCD lcd_remote_init(); #endif -#ifdef HAVE_LCD_BITMAP FOR_NB_SCREENS(i) global_status.font_id[i] = FONT_SYSFIXED; font_init(); -#endif show_logo(); #ifndef USB_NONE usb_init(); @@ -428,11 +417,9 @@ static void init(void) #ifdef HAVE_REMOTE_LCD lcd_remote_init(); #endif -#ifdef HAVE_LCD_BITMAP FOR_NB_SCREENS(i) global_status.font_id[i] = FONT_SYSFIXED; font_init(); -#endif settings_reset(); @@ -507,14 +494,12 @@ static void init(void) CHART("