forked from len0rd/rockbox
Even better LCD clearing for ipod color displays, clear to white, but after backlight off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9293 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
68865a23ac
commit
2ff150793a
1 changed files with 2 additions and 1 deletions
|
|
@ -1046,15 +1046,16 @@ void shutdown_hw(void)
|
||||||
#elif defined(HAVE_WM8758) || defined(HAVE_WM8975)
|
#elif defined(HAVE_WM8758) || defined(HAVE_WM8975)
|
||||||
wmcodec_close();
|
wmcodec_close();
|
||||||
#endif
|
#endif
|
||||||
|
backlight_off();
|
||||||
#if defined(IPOD_ARCH) && defined(HAVE_LCD_COLOR)
|
#if defined(IPOD_ARCH) && defined(HAVE_LCD_COLOR)
|
||||||
/* Clear the screen and backdrop to
|
/* Clear the screen and backdrop to
|
||||||
remove ghosting effect on shutdown */
|
remove ghosting effect on shutdown */
|
||||||
lcd_set_backdrop(NULL);
|
lcd_set_backdrop(NULL);
|
||||||
|
lcd_set_background(LCD_WHITE);
|
||||||
lcd_clear_display();
|
lcd_clear_display();
|
||||||
lcd_update();
|
lcd_update();
|
||||||
sleep(HZ/16);
|
sleep(HZ/16);
|
||||||
#endif
|
#endif
|
||||||
backlight_off();
|
|
||||||
lcd_set_contrast(0);
|
lcd_set_contrast(0);
|
||||||
#ifdef HAVE_REMOTE_LCD
|
#ifdef HAVE_REMOTE_LCD
|
||||||
remote_backlight_off();
|
remote_backlight_off();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue