Fix iriver bootloader builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8038 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f09b81f3d7
commit
8042640ce9
1 changed files with 11 additions and 0 deletions
|
@ -511,6 +511,17 @@ void remote_backlight_set_on_when_charging(bool yesno)
|
|||
|
||||
#else /* no backlight, empty dummy functions */
|
||||
|
||||
#ifdef BOOTLOADER
|
||||
void backlight_init(void)
|
||||
{
|
||||
#ifdef IRIVER_H300_SERIES
|
||||
or_l(0x00020000, &GPIO1_OUT);
|
||||
or_l(0x00020000, &GPIO1_ENABLE);
|
||||
or_l(0x00020000, &GPIO1_FUNCTION);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
void backlight_on(void) {}
|
||||
void backlight_off(void) {}
|
||||
void backlight_set_timeout(int index) {(void)index;}
|
||||
|
|
Loading…
Reference in a new issue