From 2067fcc695852a5589d6dded27cde77e20380179 Mon Sep 17 00:00:00 2001 From: Magnus Holmgren Date: Sat, 17 Feb 2007 23:22:37 +0000 Subject: Fix most (all?) CONFIG_LED warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12370 a1c6a512-1295-4272-9138-f99709370657 --- apps/screen_access.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/screen_access.h') diff --git a/apps/screen_access.h b/apps/screen_access.h index 54f2d64..befd7a6 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 -- cgit v1.1