1
0
Fork 0
forked from len0rd/rockbox

Color LCDs shouldn't have to have contrast set to 0 before shutdown. If contrast is implemented, then it can cause it to flash a bit before poweroff.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19369 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2008-12-09 01:33:01 +00:00
parent cb06108024
commit 4ae9de5490

View file

@ -1182,9 +1182,9 @@ void shutdown_hw(void)
shutdown_timeout in power_thread_sleep will force a power off */
while(storage_disk_is_active())
sleep(HZ/10);
#ifndef IAUDIO_X5
#ifndef HAVE_LCD_COLOR
lcd_set_contrast(0);
#endif /* IAUDIO_X5 */
#endif
#ifdef HAVE_REMOTE_LCD
lcd_remote_set_contrast(0);
#endif