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 --- firmware/powermgmt.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'firmware/powermgmt.c') diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index ed979f83ce..b55690be96 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -40,9 +40,7 @@ #include "fmradio.h" #endif #include "sound.h" -#ifdef HAVE_LCD_BITMAP #include "font.h" -#endif #include "logf.h" #ifdef HAVE_REMOTE_LCD #include "lcd-remote.h" @@ -754,9 +752,7 @@ void shutdown_hw(void) audio_stop(); if (battery_level_safe()) { /* do not save on critical battery */ -#ifdef HAVE_LCD_BITMAP font_unload_all(); -#endif /* Commit pending writes if needed. Even though we don't do write caching, things like flash translation layers may need this to commit scattered -- cgit v1.2.3