From 38caf2c807500fa439f8b7c47aeebb52286c2967 Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sun, 1 Aug 2010 10:17:17 +0000 Subject: [PATCH] Fix #ifdef in backlight.c from previous commit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27648 a1c6a512-1295-4272-9138-f99709370657 --- firmware/backlight.c | 4 ++-- 1 file 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) */