summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-04-25 18:15:50 +0000
committerThomas Martitz <kugel@rockbox.org>2009-04-25 18:15:50 +0000
commit0017dfbe8291142aefa832cf6c34e039376b826d (patch)
tree7b5feb594436247667669577ba4605a07de80fd1 /firmware/export
parent67fb5415f78a3198030a6285d1ccc641044f149b (diff)
downloadrockbox-0017dfbe8291142aefa832cf6c34e039376b826d.tar.gz
rockbox-0017dfbe8291142aefa832cf6c34e039376b826d.zip
Rename _buttonlight_timeout and use a function call instead of extern'ing buttonlight_timeout to be more inline with backlight, and use a #define instead of a const variable for !HAVE_LCD_SLEEP_SETTING (no functional changes)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20784 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/backlight.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/backlight.h b/firmware/export/backlight.h
index f215e0faea..ad06a670e1 100644
--- a/firmware/export/backlight.h
+++ b/firmware/export/backlight.h
@@ -95,7 +95,7 @@ void buttonlight_set_timeout(int value);
95 95
96/* Private API for use in target tree backlight code only */ 96/* Private API for use in target tree backlight code only */
97#ifdef HAVE_BUTTON_LIGHT 97#ifdef HAVE_BUTTON_LIGHT
98extern int _buttonlight_timeout; 98int buttonlight_get_current_timeout(void);
99#endif 99#endif
100 100
101#endif /* BACKLIGHT_H */ 101#endif /* BACKLIGHT_H */