1
0
Fork 0
forked from len0rd/rockbox

Now enables the backlight even after a battery switch

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1315 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-07-02 23:05:04 +00:00
parent aae4fa60ca
commit a8e6fbad3e

View file

@ -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();