diff options
Diffstat (limited to 'firmware/powermgmt.c')
-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 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 |