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/target/arm/s3c2440/gigabeat-fx/backlight-meg-fx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/arm/s3c2440/gigabeat-fx') diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/backlight-meg-fx.c b/firmware/target/arm/s3c2440/gigabeat-fx/backlight-meg-fx.c index 2d8fad5555..b38f18d4f9 100644 --- a/firmware/target/arm/s3c2440/gigabeat-fx/backlight-meg-fx.c +++ b/firmware/target/arm/s3c2440/gigabeat-fx/backlight-meg-fx.c @@ -388,7 +388,7 @@ void _buttonlight_on(void) void _buttonlight_off(void) { #ifndef BOOTLOADER - if(_buttonlight_timeout>0) + if(buttonlight_get_current_timeout() > 0) __buttonlight_dim(true); else #endif -- cgit v1.2.3