summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.c
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2007-02-17 23:22:37 +0000
committerMagnus Holmgren <magnushol@gmail.com>2007-02-17 23:22:37 +0000
commit2067fcc695852a5589d6dded27cde77e20380179 (patch)
tree4face0c925a271b5cdf25ca743b428c1a049790a /apps/screen_access.c
parentd52ee4c0d6f1f63a57365dbf83a1d6dc0266fc5d (diff)
downloadrockbox-2067fcc695852a5589d6dded27cde77e20380179.tar.gz
rockbox-2067fcc695852a5589d6dded27cde77e20380179.tar.bz2
rockbox-2067fcc695852a5589d6dded27cde77e20380179.zip
Fix most (all?) CONFIG_LED warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12370 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 e2714b2324..f2e38e95e1 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 CONFIG_LED == LED_VIRTUAL
+#if defined(CONFIG_LED) && (CONFIG_LED == LED_VIRTUAL)
screen->has_disk_led=false;
#elif defined(HAVE_REMOTE_LCD)
screen->has_disk_led=true;