summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-07-02 23:05:04 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-07-02 23:05:04 +0000
commita8e6fbad3e72f028a36b7444b54c95bf2473fa62 (patch)
tree3f5df1cb4e106809dd87f1ee05872c80d1db2f69 /firmware
parentaae4fa60ca5d1ad0f266370ddd36834f2b5fe57c (diff)
Now enables the backlight even after a battery switch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1315 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/backlight.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c
index 69907cf8d0..3d40a929af 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -107,6 +107,7 @@ void backlight_tick(void)
void backlight_init(void)
{
+ rtc_write(0x0a, 0x40); /* Enable square wave */
queue_init(&backlight_queue);
create_thread(backlight_thread, backlight_stack, sizeof(backlight_stack));
backlight_on();