summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2006-03-27 14:15:07 +0000
committerBrandon Low <lostlogic@rockbox.org>2006-03-27 14:15:07 +0000
commit99538b73f52d36a6c16d7d6c2de40eed1db29844 (patch)
tree379733a7c4a0cac55bd243581a79798fe5bab64d /firmware
parentbdc52f4649770e5c7d22e7be026fec9f5161c8c9 (diff)
downloadrockbox-99538b73f52d36a6c16d7d6c2de40eed1db29844.tar.gz
rockbox-99538b73f52d36a6c16d7d6c2de40eed1db29844.zip
Clear the display in a less intrusive way to the user's selected background _color_ (solid color ghosting is hard to detect)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9288 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/powermgmt.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index 1a0404bbda..688d03124f 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -1046,13 +1046,11 @@ void shutdown_hw(void)
1046#elif defined(HAVE_WM8758) || defined(HAVE_WM8975) 1046#elif defined(HAVE_WM8758) || defined(HAVE_WM8975)
1047 wmcodec_close(); 1047 wmcodec_close();
1048#endif 1048#endif
1049#ifdef APPLE_IPODVIDEO 1049#if defined(IPOD_ARCH) && defined(HAVE_LCD_COLOR)
1050 /* Fill the screen solid white on 5g to 1050 /* Clear the screen and backdrop to
1051 remove ghosting effect on shutdown */ 1051 remove ghosting effect on shutdown */
1052 lcd_set_backdrop(NULL);
1052 lcd_clear_display(); 1053 lcd_clear_display();
1053 lcd_set_drawmode(DRMODE_SOLID);
1054 lcd_set_foreground(LCD_WHITE);
1055 lcd_fillrect(0, 0, LCD_WIDTH, LCD_HEIGHT);
1056 lcd_update(); 1054 lcd_update();
1057 sleep(HZ/16); 1055 sleep(HZ/16);
1058#endif 1056#endif