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:
parent
aae4fa60ca
commit
a8e6fbad3e
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue