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:
Linus Nielsen Feltzing 2005-11-16 23:53:01 +00:00
parent 73a35a1aa4
commit 4be7e5f560

View file

@ -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) {}