summaryrefslogtreecommitdiff
path: root/apps/wps-display.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-10-09 19:56:27 +0000
committerJens Arnold <amiconn@rockbox.org>2004-10-09 19:56:27 +0000
commita1a08d0d5f36ab2212d9e1b78e54467469f4cf25 (patch)
treef640797017847e792df9abb7f6f872eefa670a06 /apps/wps-display.c
parent5ae37f0ddbd2b072d61e63529926663a7dad6c47 (diff)
Removed backlight handling remains for platforms with no backlight (Ondio)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5236 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/wps-display.c')
-rw-r--r--apps/wps-display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c
index 2612b92d2a..339857710c 100644
--- a/apps/wps-display.c
+++ b/apps/wps-display.c
@@ -987,7 +987,7 @@ bool wps_refresh(struct mp3entry* id3,
peak_meter_enabled = enable_pm;
#endif
-#ifndef SIMULATOR
+#if defined(HAVE_BACKLIGHT) && !defined(SIMULATOR)
if (global_settings.caption_backlight && id3) {
/* turn on backlight n seconds before track ends, and turn it off n
seconds into the new track. n == backlight_timeout, or 5s */