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
This commit is contained in:
parent
66499ecad0
commit
9f4f5dbc26
2 changed files with 7 additions and 3 deletions
|
@ -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 },
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue