diff options
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 4 | ||||
-rw-r--r-- | firmware/export/config-e200.h | 6 |
2 files changed, 7 insertions, 3 deletions
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 <stdio.h> #include <string.h> #include <stdlib.h> +#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 }, diff --git a/firmware/export/config-e200.h b/firmware/export/config-e200.h index adae8a211d..f130a63eae 100644 --- a/firmware/export/config-e200.h +++ b/firmware/export/config-e200.h @@ -185,8 +185,6 @@ #define USB_VENDOR_ID 0x0781 #define USB_PRODUCT_ID 0x7421 -/* Virtual LED (icon) */ -#define CONFIG_LED LED_VIRTUAL /* Define this if you have adjustable CPU frequency */ #define HAVE_ADJUSTABLE_CPU_FREQ @@ -202,8 +200,12 @@ #endif /* SIMULATOR */ + /** Port-specific settings **/ +/* Virtual LED (icon) */ +#define CONFIG_LED LED_VIRTUAL + /* Main LCD backlight brightness range and defaults */ #define MIN_BRIGHTNESS_SETTING 1 #define MAX_BRIGHTNESS_SETTING 12 |