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.tar.gz
rockbox-9f4f5dbc2683a17159aac153aaccce023fc5dab3.zip
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 5ecbda1315..bc0abba786 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -22,6 +22,7 @@
22#include <stdio.h> 22#include <stdio.h>
23#include <string.h> 23#include <string.h>
24#include <stdlib.h> 24#include <stdlib.h>
25#include "config.h"
25#include "file.h" 26#include "file.h"
26#include "misc.h" 27#include "misc.h"
27#include "plugin.h" 28#include "plugin.h"
@@ -272,9 +273,10 @@ static const struct wps_tag all_tags[] = {
272#if (CONFIG_CODEC != MAS3507D) 273#if (CONFIG_CODEC != MAS3507D)
273 { WPS_TOKEN_SOUND_PITCH, "Sp", WPS_REFRESH_DYNAMIC, NULL }, 274 { WPS_TOKEN_SOUND_PITCH, "Sp", WPS_REFRESH_DYNAMIC, NULL },
274#endif 275#endif
275
276#if (CONFIG_LED == LED_VIRTUAL) || defined(HAVE_REMOTE_LCD) 276#if (CONFIG_LED == LED_VIRTUAL) || defined(HAVE_REMOTE_LCD)
277 { WPS_TOKEN_VLED_HDD, "lh", WPS_REFRESH_DYNAMIC, NULL }, 277 { WPS_TOKEN_VLED_HDD, "lh", WPS_REFRESH_DYNAMIC, NULL },
278#else
279 #error why doesnt this target enable vled?
278#endif 280#endif
279 281
280 { WPS_TOKEN_MAIN_HOLD, "mh", WPS_REFRESH_DYNAMIC, NULL }, 282 { 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 @@
185#define USB_VENDOR_ID 0x0781 185#define USB_VENDOR_ID 0x0781
186#define USB_PRODUCT_ID 0x7421 186#define USB_PRODUCT_ID 0x7421
187 187
188/* Virtual LED (icon) */
189#define CONFIG_LED LED_VIRTUAL
190 188
191/* Define this if you have adjustable CPU frequency */ 189/* Define this if you have adjustable CPU frequency */
192#define HAVE_ADJUSTABLE_CPU_FREQ 190#define HAVE_ADJUSTABLE_CPU_FREQ
@@ -202,8 +200,12 @@
202 200
203#endif /* SIMULATOR */ 201#endif /* SIMULATOR */
204 202
203
205/** Port-specific settings **/ 204/** Port-specific settings **/
206 205
206/* Virtual LED (icon) */
207#define CONFIG_LED LED_VIRTUAL
208
207/* Main LCD backlight brightness range and defaults */ 209/* Main LCD backlight brightness range and defaults */
208#define MIN_BRIGHTNESS_SETTING 1 210#define MIN_BRIGHTNESS_SETTING 1
209#define MAX_BRIGHTNESS_SETTING 12 211#define MAX_BRIGHTNESS_SETTING 12