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