diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-12-09 01:33:01 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-12-09 01:33:01 +0000 |
commit | 4ae9de5490c06ab06d96d7f5006e77eb69907ed6 (patch) | |
tree | de1911a305fa316cb1feaccd83d079e52153dbcb /firmware | |
parent | cb0610802495d2f767c78a0b07a0b8359238f590 (diff) | |
download | rockbox-4ae9de5490c06ab06d96d7f5006e77eb69907ed6.tar.gz rockbox-4ae9de5490c06ab06d96d7f5006e77eb69907ed6.zip |
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
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/powermgmt.c | 4 |
1 files 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) | |||
1182 | shutdown_timeout in power_thread_sleep will force a power off */ | 1182 | shutdown_timeout in power_thread_sleep will force a power off */ |
1183 | while(storage_disk_is_active()) | 1183 | while(storage_disk_is_active()) |
1184 | sleep(HZ/10); | 1184 | sleep(HZ/10); |
1185 | #ifndef IAUDIO_X5 | 1185 | #ifndef HAVE_LCD_COLOR |
1186 | lcd_set_contrast(0); | 1186 | lcd_set_contrast(0); |
1187 | #endif /* IAUDIO_X5 */ | 1187 | #endif |
1188 | #ifdef HAVE_REMOTE_LCD | 1188 | #ifdef HAVE_REMOTE_LCD |
1189 | lcd_remote_set_contrast(0); | 1189 | lcd_remote_set_contrast(0); |
1190 | #endif | 1190 | #endif |