summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2007-05-14 04:52:36 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2007-05-14 04:52:36 +0000
commit28903c353eccee589d6d14d4a83b4a8c34120f68 (patch)
treed5fca915a039804202dd2ac521f1bc3b58eb7963 /firmware
parent2ac037d7c582dabf31b5ae49a5a5d6a094453b0f (diff)
Remove some unneeded buttonlight code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13383 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/backlight.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c
index d7e2fb1a81..5549430c45 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -642,7 +642,7 @@ void backlight_init(void)
#ifdef HAVE_BUTTON_LIGHT
button_backlight_on();
#endif
-
+
create_thread(backlight_thread, backlight_stack,
sizeof(backlight_stack), backlight_thread_name
IF_PRIO(, PRIORITY_SYSTEM)
@@ -876,8 +876,6 @@ void buttonlight_set_brightness(int val)
val = MAX_BRIGHTNESS_SETTING;
__buttonlight_set_brightness(val);
- if(button_backlight_timeout<0)
- _button_backlight_off();
}
#endif /* HAVE_BUTTONLIGHT_BRIGHTNESS */