From 4ae9de5490c06ab06d96d7f5006e77eb69907ed6 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Tue, 9 Dec 2008 01:33:01 +0000 Subject: [PATCH] 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 --- firmware/powermgmt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index a2017a76fd..a1f7ed9836 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -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