mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Only do BACKLIGHT_FADING_SW_SETTING in simulator (fixes red)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24044 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bd3b58f86d
commit
b7879ad742
1 changed files with 6 additions and 1 deletions
|
@ -559,11 +559,16 @@ Lyre prototype 1 */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* deactivate fading in bootloader */
|
/* deactivate fading in bootloader */
|
||||||
#if defined(BOOTLOADER)
|
#ifdef BOOTLOADER
|
||||||
#undef CONFIG_BACKLIGHT_FADING
|
#undef CONFIG_BACKLIGHT_FADING
|
||||||
#define CONFIG_BACKLIGHT_FADING BACKLIGHT_NO_FADING
|
#define CONFIG_BACKLIGHT_FADING BACKLIGHT_NO_FADING
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef SIMULATOR
|
||||||
|
#undef CONFIG_BACKLIGHT_FADING
|
||||||
|
#define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING
|
||||||
|
#endif
|
||||||
|
|
||||||
/* determine which setting/manual text to use */
|
/* determine which setting/manual text to use */
|
||||||
#if (CONFIG_BACKLIGHT_FADING == BACKLIGHT_FADING_PWM)
|
#if (CONFIG_BACKLIGHT_FADING == BACKLIGHT_FADING_PWM)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue