diff options
| author | Brandon Low <lostlogic@rockbox.org> | 2006-03-27 14:15:07 +0000 |
|---|---|---|
| committer | Brandon Low <lostlogic@rockbox.org> | 2006-03-27 14:15:07 +0000 |
| commit | 99538b73f52d36a6c16d7d6c2de40eed1db29844 (patch) | |
| tree | 379733a7c4a0cac55bd243581a79798fe5bab64d | |
| parent | bdc52f4649770e5c7d22e7be026fec9f5161c8c9 (diff) | |
| download | rockbox-99538b73f52d36a6c16d7d6c2de40eed1db29844.zip rockbox-99538b73f52d36a6c16d7d6c2de40eed1db29844.tar.gz rockbox-99538b73f52d36a6c16d7d6c2de40eed1db29844.tar.bz2 rockbox-99538b73f52d36a6c16d7d6c2de40eed1db29844.tar.xz | |
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
| -rw-r--r-- | firmware/powermgmt.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 1a0404b..688d031 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -1046,13 +1046,11 @@ void shutdown_hw(void) #elif defined(HAVE_WM8758) || defined(HAVE_WM8975) wmcodec_close(); #endif -#ifdef APPLE_IPODVIDEO - /* Fill the screen solid white on 5g to +#if defined(IPOD_ARCH) && defined(HAVE_LCD_COLOR) + /* Clear the screen and backdrop to remove ghosting effect on shutdown */ + lcd_set_backdrop(NULL); lcd_clear_display(); - lcd_set_drawmode(DRMODE_SOLID); - lcd_set_foreground(LCD_WHITE); - lcd_fillrect(0, 0, LCD_WIDTH, LCD_HEIGHT); lcd_update(); sleep(HZ/16); #endif |