summaryrefslogtreecommitdiff
path: root/firmware/export/backlight.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-02-18 10:07:27 +0000
committerJens Arnold <amiconn@rockbox.org>2007-02-18 10:07:27 +0000
commit3a37f46fc92fe7f9846a4077cc1a985c500d1174 (patch)
tree76541ae462f02ede816ab3f9b42f5207f068658c /firmware/export/backlight.h
parentda88e84f482c8c96c0d64bf67969b6e9dd9a8379 (diff)
Fix CONFIG_BACKLIGHT warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12393 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/backlight.h')
-rw-r--r--firmware/export/backlight.h4
1 files changed, 2 insertions, 2 deletions
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 */