From 0017dfbe8291142aefa832cf6c34e039376b826d Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sat, 25 Apr 2009 18:15:50 +0000 Subject: 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 --- firmware/export/backlight.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/export') 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); /* Private API for use in target tree backlight code only */ #ifdef HAVE_BUTTON_LIGHT -extern int _buttonlight_timeout; +int buttonlight_get_current_timeout(void); #endif #endif /* BACKLIGHT_H */ -- cgit v1.2.3