summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-09-06 16:54:04 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-09-06 16:54:04 +0000
commit9f4f5dbc2683a17159aac153aaccce023fc5dab3 (patch)
treebc335c25ee2579450c3d2cee7463b8fcbe631e26
parent66499ecad05866e709e3b48131801356cdf888c1 (diff)
downloadrockbox-9f4f5dbc2683a17159aac153aaccce023fc5dab3.zip
rockbox-9f4f5dbc2683a17159aac153aaccce023fc5dab3.tar.gz
rockbox-9f4f5dbc2683a17159aac153aaccce023fc5dab3.tar.bz2
rockbox-9f4f5dbc2683a17159aac153aaccce023fc5dab3.tar.xz
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
-rw-r--r--apps/gui/skin_engine/skin_parser.c4
-rw-r--r--firmware/export/config-e200.h6
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 5ecbda1..bc0abba 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 adae8a2..f130a63 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