summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-12-02 03:15:02 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-12-02 03:15:02 +0000
commit8c442b6b12a4131fdbaf211a8e423abe673d491f (patch)
treeccf086d61a968c26db3bdbc4d73b53e4e6125aaa /firmware
parentcd8c87e74a97fddd81e16a13df6bbfb18814dcc7 (diff)
Oops. Should subtract one from actual default value.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19299 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/s3c2440/gigabeat-fx/backlight-meg-fx.c4
1 files changed, 2 insertions, 2 deletions
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 5cb196eea2..db32aa189a 100644
--- a/firmware/target/arm/s3c2440/gigabeat-fx/backlight-meg-fx.c
+++ b/firmware/target/arm/s3c2440/gigabeat-fx/backlight-meg-fx.c
@@ -404,8 +404,8 @@ void _buttonlight_set_brightness(int brightness)
bool _backlight_init(void)
{
- buttonlight_brightness = log_brightness[DEFAULT_BRIGHTNESS_SETTING];
- _backlight_brightness = log_brightness[DEFAULT_BRIGHTNESS_SETTING];
+ buttonlight_brightness = log_brightness[DEFAULT_BRIGHTNESS_SETTING-1];
+ _backlight_brightness = log_brightness[DEFAULT_BRIGHTNESS_SETTING-1];
buttonlight_control = BUTTONLIGHT_CONTROL_IDLE;
backlight_control = BACKLIGHT_CONTROL_ON;