1
0
Fork 0
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:
Maurus Cuelenaere 2009-12-17 14:22:15 +00:00
parent b7879ad742
commit 665bdd5638

View file

@ -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)