summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tms320dm320/mrobe-500/backlight-mr500.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-05-04 12:04:29 +0000
committerThomas Martitz <kugel@rockbox.org>2009-05-04 12:04:29 +0000
commitdfb24d6ceee703361b8120d689d8d77cfc15830d (patch)
tree2bdcfc3167ebff8ab2b9426cb6f20e8d78bbc578 /firmware/target/arm/tms320dm320/mrobe-500/backlight-mr500.c
parentf9fae86de25a71e79571d8e692868be544ac1bfb (diff)
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
Diffstat (limited to 'firmware/target/arm/tms320dm320/mrobe-500/backlight-mr500.c')
-rw-r--r--firmware/target/arm/tms320dm320/mrobe-500/backlight-mr500.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/backlight-mr500.c b/firmware/target/arm/tms320dm320/mrobe-500/backlight-mr500.c
index 1596b83dc3..413790ae00 100644
--- a/firmware/target/arm/tms320dm320/mrobe-500/backlight-mr500.c
+++ b/firmware/target/arm/tms320dm320/mrobe-500/backlight-mr500.c
@@ -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
}