From 3a37f46fc92fe7f9846a4077cc1a985c500d1174 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 18 Feb 2007 10:07:27 +0000 Subject: Fix CONFIG_BACKLIGHT warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12393 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/backlight.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/export/backlight.h') diff --git a/firmware/export/backlight.h b/firmware/export/backlight.h index 1cd6c47f36..2873666dd8 100644 --- a/firmware/export/backlight.h +++ b/firmware/export/backlight.h @@ -26,7 +26,7 @@ void backlight_on(void); void backlight_off(void); void backlight_set_timeout(int index); -#ifdef CONFIG_BACKLIGHT +#if CONFIG_BACKLIGHT void backlight_init(void); #if defined(IAUDIO_X5) && !defined(SIMULATOR) @@ -54,7 +54,7 @@ void lcd_set_sleep_after_backlight_off(int index); extern const signed char lcd_sleep_timeout_value[]; #endif -#else /* ndef CONFIG_BACKLIGHT */ +#else /* CONFIG_BACKLIGHT == 0 */ #define backlight_init() #endif /* CONFIG_BACKLIGHT */ -- cgit v1.2.3