forked from len0rd/rockbox
Don't do fading in simulator on targets with BACKLIGHT_FADING_PWM or BACKLIGHT_FADING_TARGET (should fix red)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24045 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b7879ad742
commit
665bdd5638
1 changed files with 4 additions and 7 deletions
|
@ -558,17 +558,14 @@ Lyre prototype 1 */
|
|||
#define CONFIG_TUNER_MULTI
|
||||
#endif
|
||||
|
||||
/* deactivate fading in bootloader */
|
||||
#ifdef BOOTLOADER
|
||||
/* deactivate fading in bootloader/sim */
|
||||
#if defined(BOOTLOADER) || (defined(SIMULATOR) && \
|
||||
(CONFIG_BACKLIGHT_FADING == BACKLIGHT_FADING_PWM || \
|
||||
CONFIG_BACKLIGHT_FADING == BACKLIGHT_FADING_TARGET))
|
||||
#undef CONFIG_BACKLIGHT_FADING
|
||||
#define CONFIG_BACKLIGHT_FADING BACKLIGHT_NO_FADING
|
||||
#endif
|
||||
|
||||
#ifdef SIMULATOR
|
||||
#undef CONFIG_BACKLIGHT_FADING
|
||||
#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
|
||||
#endif
|
||||
|
||||
/* determine which setting/manual text to use */
|
||||
#if (CONFIG_BACKLIGHT_FADING == BACKLIGHT_FADING_PWM)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue