Always turn on the backlight in the H300 boot loader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7919 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
73a35a1aa4
commit
4be7e5f560
1 changed files with 8 additions and 1 deletions
|
@ -456,7 +456,14 @@ void backlight_init(void)
|
|||
|
||||
#else /* no backlight, empty dummy functions */
|
||||
|
||||
void backlight_init(void) {}
|
||||
void backlight_init(void)
|
||||
{
|
||||
#if defined(IRIVER_H300_SERIES) && defined(BOOTLOADER)
|
||||
or_l(0x00020000, &GPIO1_OUT);
|
||||
or_l(0x00020000, &GPIO1_ENABLE);
|
||||
or_l(0x00020000, &GPIO1_FUNCTION);
|
||||
#endif
|
||||
}
|
||||
void backlight_on(void) {}
|
||||
void backlight_off(void) {}
|
||||
void backlight_tick(void) {}
|
||||
|
|
Loading…
Reference in a new issue