summaryrefslogtreecommitdiffstats
path: root/firmware/powermgmt.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-17 10:31:31 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit658026e6267277b27d297c481728f74d160a8481 (patch)
tree915a9d2bb48469bdd5b9127dc19a61f230721a6c /firmware/powermgmt.c
parent8cb555460ff79e636a7907fb2589e16db98c8600 (diff)
downloadrockbox-658026e6267277b27d297c481728f74d160a8481.tar.gz
rockbox-658026e6267277b27d297c481728f74d160a8481.tar.bz2
rockbox-658026e6267277b27d297c481728f74d160a8481.zip
[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
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r--firmware/powermgmt.c4
1 files changed, 0 insertions, 4 deletions
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