summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-02-18 05:07:19 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-02-18 05:07:19 +0000
commitbd47d48c21ddcdd56b3654db78613d93739b8ce7 (patch)
tree78ddd13c384995b4220adc2c85eff233956420d2 /apps/screen_access.c
parentac61951452e001da48430d8487521ad32b7a123c (diff)
downloadrockbox-bd47d48c21ddcdd56b3654db78613d93739b8ce7.tar.gz
rockbox-bd47d48c21ddcdd56b3654db78613d93739b8ce7.tar.bz2
rockbox-bd47d48c21ddcdd56b3654db78613d93739b8ce7.zip
Do the CONFIG_LED define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12383 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r--apps/screen_access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index f2e38e95e1..00db92769b 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -111,7 +111,7 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
case SCREEN_MAIN:
default:
screen->depth=LCD_DEPTH;
-#if defined(CONFIG_LED) && (CONFIG_LED == LED_VIRTUAL)
+#if (CONFIG_LED == LED_VIRTUAL)
screen->has_disk_led=false;
#elif defined(HAVE_REMOTE_LCD)
screen->has_disk_led=true;