summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2009-08-29 14:33:40 +0000
committerTeruaki Kawashima <teru@rockbox.org>2009-08-29 14:33:40 +0000
commit5226a89cce46e53d3c011de1e7b1c1d7b91af734 (patch)
tree0c12c594812d4a50a12906aa6973b983fbc233cc
parentd43bcb7dc4f327f864ea38015a4e09601298bb89 (diff)
downloadrockbox-5226a89cce46e53d3c011de1e7b1c1d7b91af734.tar.gz
rockbox-5226a89cce46e53d3c011de1e7b1c1d7b91af734.tar.bz2
rockbox-5226a89cce46e53d3c011de1e7b1c1d7b91af734.zip
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
-rw-r--r--apps/screens.c4
1 files changed, 4 insertions, 0 deletions
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 */
}