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:
parent
cb06108024
commit
4ae9de5490
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue