mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
CONFIG_BACKLIGHT_FADING is always defined, so better ask for BACKLIGHT_NO_FADING.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20850 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f9fae86de2
commit
dfb24d6cee
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ void _backlight_on(void)
|
|||
{
|
||||
lcd_awake(); /* power on lcd + visible display */
|
||||
|
||||
#if !defined(CONFIG_BACKLIGHT_FADING)
|
||||
#if (CONFIG_BACKLIGHT_FADING == BACKLIGHT_NO_FADING)
|
||||
_backlight_write_brightness(backlight_brightness);
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue