summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.h
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.h
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.h')
-rw-r--r--apps/screen_access.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/screen_access.h b/apps/screen_access.h
index 54f2d64fdb..befd7a6d3a 100644
--- a/apps/screen_access.h
+++ b/apps/screen_access.h
@@ -54,7 +54,7 @@ struct screen
int depth;
int char_width;
int char_height;
-#if (CONFIG_LED == LED_VIRTUAL) || defined(HAVE_REMOTE_LCD)
+#if (defined(CONFIG_LED) && (CONFIG_LED == LED_VIRTUAL)) || defined(HAVE_REMOTE_LCD)
bool has_disk_led;
#endif
#ifdef HAS_BUTTONBAR