From 9f4f5dbc2683a17159aac153aaccce023fc5dab3 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 6 Sep 2009 16:54:04 +0000 Subject: Make the e200 compile the vled for the sim... other targets are probably doing the same thing so find out which.. commit will be immediatly followed to fixd red git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22642 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/skin_engine/skin_parser.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/gui') diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 5ecbda1315..bc0abba786 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c @@ -22,6 +22,7 @@ #include #include #include +#include "config.h" #include "file.h" #include "misc.h" #include "plugin.h" @@ -272,9 +273,10 @@ static const struct wps_tag all_tags[] = { #if (CONFIG_CODEC != MAS3507D) { WPS_TOKEN_SOUND_PITCH, "Sp", WPS_REFRESH_DYNAMIC, NULL }, #endif - #if (CONFIG_LED == LED_VIRTUAL) || defined(HAVE_REMOTE_LCD) { WPS_TOKEN_VLED_HDD, "lh", WPS_REFRESH_DYNAMIC, NULL }, +#else + #error why doesnt this target enable vled? #endif { WPS_TOKEN_MAIN_HOLD, "mh", WPS_REFRESH_DYNAMIC, NULL }, -- cgit v1.2.3