diff options
Diffstat (limited to 'apps/gui/usb_screen.c')
-rw-r--r-- | apps/gui/usb_screen.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/gui/usb_screen.c b/apps/gui/usb_screen.c index 2b3355021d..1d9fcec6e4 100644 --- a/apps/gui/usb_screen.c +++ b/apps/gui/usb_screen.c | |||
@@ -38,6 +38,7 @@ | |||
38 | #include "led.h" | 38 | #include "led.h" |
39 | #include "appevents.h" | 39 | #include "appevents.h" |
40 | #include "usb_screen.h" | 40 | #include "usb_screen.h" |
41 | #include "skin_engine/skin_engine.h" | ||
41 | 42 | ||
42 | #ifdef HAVE_LCD_BITMAP | 43 | #ifdef HAVE_LCD_BITMAP |
43 | #include "bitmaps/usblogo.h" | 44 | #include "bitmaps/usblogo.h" |
@@ -265,8 +266,11 @@ void gui_usb_screen_run(bool early_usb) | |||
265 | /* The font system leaves the .fnt fd's open, so we need for force close them all */ | 266 | /* The font system leaves the .fnt fd's open, so we need for force close them all */ |
266 | #ifdef HAVE_LCD_BITMAP | 267 | #ifdef HAVE_LCD_BITMAP |
267 | FOR_NB_SCREENS(i) | 268 | FOR_NB_SCREENS(i) |
269 | { | ||
268 | font_unload(global_status.font_id[i]); | 270 | font_unload(global_status.font_id[i]); |
269 | // FIXME skin_font_init(); /* unload all the skin fonts */ | 271 | global_status.font_id[i] = -1; |
272 | } | ||
273 | skin_unload_all(); | ||
270 | #endif | 274 | #endif |
271 | } | 275 | } |
272 | 276 | ||