forked from len0rd/rockbox
Player: initialize backlight control pin (for coldstart)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5444 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2a89e7d122
commit
09280d0422
1 changed files with 5 additions and 0 deletions
|
@ -186,6 +186,11 @@ void backlight_init(void)
|
|||
queue_init(&backlight_queue);
|
||||
create_thread(backlight_thread, backlight_stack,
|
||||
sizeof(backlight_stack), backlight_thread_name);
|
||||
|
||||
#ifdef HAVE_LCD_CHARCELLS
|
||||
PACR1 &= ~0x3000; /* Set PA14 (backlight control) to GPIO */
|
||||
or_b(0x40, &PAIORH); /* ..and output */
|
||||
#endif
|
||||
|
||||
#ifdef IRIVER_H100
|
||||
GPIO1_ENABLE |= 0x00020000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue