mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
i7: _backlight_init() turn backlight on, as we can miss panic message
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22730 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
36e8fc0872
commit
f43c0aba32
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ void power_touch_panel(bool on);
|
||||||
static inline bool _backlight_init(void)
|
static inline bool _backlight_init(void)
|
||||||
{
|
{
|
||||||
GPIOD_DIR |= 0x2;
|
GPIOD_DIR |= 0x2;
|
||||||
|
/* set backlight on by default, since the screen is unreadable without it */
|
||||||
|
GPIOD |= 0x2;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue