iriver: Always turn on the backlight in backlight_init()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7330 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
46b3b86a50
commit
d7dd2f8b81
1 changed files with 1 additions and 0 deletions
|
@ -411,6 +411,7 @@ void backlight_init(void)
|
|||
#if CONFIG_BACKLIGHT == BL_IRIVER
|
||||
or_l(0x00020000, &GPIO1_ENABLE);
|
||||
or_l(0x00020000, &GPIO1_FUNCTION);
|
||||
and_l(~0x00020000, &GPIO1_OUT); /* Start with the backlight ON */
|
||||
#elif CONFIG_BACKLIGHT == BL_PA14_LO || CONFIG_BACKLIGHT == BL_PA14_HI
|
||||
PACR1 &= ~0x3000; /* Set PA14 (backlight control) to GPIO */
|
||||
or_b(0x40, &PAIORH); /* ..and output */
|
||||
|
|
Loading…
Reference in a new issue