From a943e7485b016062da1c7be0f4eeb9df33459afd Mon Sep 17 00:00:00 2001 From: Szymon Dziok Date: Sun, 11 Sep 2011 13:48:14 +0000 Subject: HDD6330: Enable only one led (from five) on the scroll strip in order to save battery life. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30506 a1c6a512-1295-4272-9138-f99709370657 --- firmware/target/arm/philips/hdd6330/backlight-hdd6330.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware') diff --git a/firmware/target/arm/philips/hdd6330/backlight-hdd6330.c b/firmware/target/arm/philips/hdd6330/backlight-hdd6330.c index ec77e9c828..68d2ad8149 100644 --- a/firmware/target/arm/philips/hdd6330/backlight-hdd6330.c +++ b/firmware/target/arm/philips/hdd6330/backlight-hdd6330.c @@ -47,7 +47,7 @@ void _backlight_off(void) } #ifdef HAVE_BUTTON_LIGHT -#define BUTTONLIGHT_MASK 0x7f +#define BUTTONLIGHT_MASK 0x64 static unsigned short buttonight_brightness = DEFAULT_BRIGHTNESS_SETTING - 1; static unsigned short buttonlight_status = 0; @@ -62,7 +62,7 @@ void _buttonlight_on(void) /* skip 2 leds because their light does not pass */ /* through the panel anyway - on GPOs, module 0 */ touchpad_set_parameter(0x00,0x22,0x15); - /* left, right and the scrollstrip */ + /* left, right and the scrollstrip (1 led from 5) */ touchpad_set_buttonlights(BUTTONLIGHT_MASK, buttonight_brightness); buttonlight_status = 1; } -- cgit v1.2.3