summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2010-08-01 10:17:17 +0000
committerBertrik Sikken <bertrik@sikken.nl>2010-08-01 10:17:17 +0000
commit38caf2c807500fa439f8b7c47aeebb52286c2967 (patch)
treecba1931c19f9e91e35ca270a72fcc2272cbb1d76 /firmware
parent3a8e7e644bd0e67193d8b1a8340e06a9383c3d15 (diff)
downloadrockbox-38caf2c807500fa439f8b7c47aeebb52286c2967.tar.gz
rockbox-38caf2c807500fa439f8b7c47aeebb52286c2967.tar.bz2
rockbox-38caf2c807500fa439f8b7c47aeebb52286c2967.zip
Fix #ifdef in backlight.c from previous commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27648 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/backlight.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c
index 1d98a0cfa7..4f33a6167f 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -995,11 +995,11 @@ bool is_remote_backlight_on(bool ignore_always_off)
void backlight_set_brightness(int val) { (void)val; }
#endif
-#ifdef HAVE_BUTTONLIGHT
+#ifdef HAVE_BUTTON_LIGHT
void buttonlight_on(void) {}
#ifdef HAVE_BUTTONLIGHT_BRIGHTNESS
void buttonlight_set_brightness(int val) { (void)val; }
#endif
-#endif /* HAVE_BUTTONLIGHT */
+#endif /* HAVE_BUTTON_LIGHT */
#endif /* defined(HAVE_BACKLIGHT) && defined(BACKLIGHT_FULL_INIT) */