diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-17 10:31:31 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:20:13 +0000 |
commit | 658026e6267277b27d297c481728f74d160a8481 (patch) | |
tree | 915a9d2bb48469bdd5b9127dc19a61f230721a6c /firmware/powermgmt.c | |
parent | 8cb555460ff79e636a7907fb2589e16db98c8600 (diff) | |
download | rockbox-658026e6267277b27d297c481728f74d160a8481.tar.gz 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.c | 4 |
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 @@ | |||
40 | #include "fmradio.h" | 40 | #include "fmradio.h" |
41 | #endif | 41 | #endif |
42 | #include "sound.h" | 42 | #include "sound.h" |
43 | #ifdef HAVE_LCD_BITMAP | ||
44 | #include "font.h" | 43 | #include "font.h" |
45 | #endif | ||
46 | #include "logf.h" | 44 | #include "logf.h" |
47 | #ifdef HAVE_REMOTE_LCD | 45 | #ifdef HAVE_REMOTE_LCD |
48 | #include "lcd-remote.h" | 46 | #include "lcd-remote.h" |
@@ -754,9 +752,7 @@ void shutdown_hw(void) | |||
754 | audio_stop(); | 752 | audio_stop(); |
755 | 753 | ||
756 | if (battery_level_safe()) { /* do not save on critical battery */ | 754 | if (battery_level_safe()) { /* do not save on critical battery */ |
757 | #ifdef HAVE_LCD_BITMAP | ||
758 | font_unload_all(); | 755 | font_unload_all(); |
759 | #endif | ||
760 | 756 | ||
761 | /* Commit pending writes if needed. Even though we don't do write caching, | 757 | /* Commit pending writes if needed. Even though we don't do write caching, |
762 | things like flash translation layers may need this to commit scattered | 758 | things like flash translation layers may need this to commit scattered |