From 5226a89cce46e53d3c011de1e7b1c1d7b91af734 Mon Sep 17 00:00:00 2001 From: Teruaki Kawashima Date: Sat, 29 Aug 2009 14:33:40 +0000 Subject: [PATCH] Clear screen when leave usb screen so that usblogo doesn't remain on the screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22531 a1c6a512-1295-4272-9138-f99709370657 --- apps/screens.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/screens.c b/apps/screens.c index ead6735a95..036e2a8f06 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -229,7 +229,11 @@ void usb_screen(void) status_set_usb(false); #endif /* HAVE_LCD_CHARCELLS */ FOR_NB_SCREENS(i) + { screens[i].backlight_on(); + screens[i].clear_display(); + screens[i].update(); + } global_settings.statusbar = statusbar; #endif /* USB_NONE */ }