summaryrefslogtreecommitdiff
path: root/firmware/powermgmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r--firmware/powermgmt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index 688d03124f..1ae909d8da 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -1046,15 +1046,16 @@ 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 backlight_off();
1049#if defined(IPOD_ARCH) && defined(HAVE_LCD_COLOR) 1050#if defined(IPOD_ARCH) && defined(HAVE_LCD_COLOR)
1050 /* Clear the screen and backdrop to 1051 /* Clear the screen and backdrop to
1051 remove ghosting effect on shutdown */ 1052 remove ghosting effect on shutdown */
1052 lcd_set_backdrop(NULL); 1053 lcd_set_backdrop(NULL);
1054 lcd_set_background(LCD_WHITE);
1053 lcd_clear_display(); 1055 lcd_clear_display();
1054 lcd_update(); 1056 lcd_update();
1055 sleep(HZ/16); 1057 sleep(HZ/16);
1056#endif 1058#endif
1057 backlight_off();
1058 lcd_set_contrast(0); 1059 lcd_set_contrast(0);
1059#ifdef HAVE_REMOTE_LCD 1060#ifdef HAVE_REMOTE_LCD
1060 remote_backlight_off(); 1061 remote_backlight_off();