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:
Vitja Makarov 2009-09-18 06:01:56 +00:00
parent 36e8fc0872
commit f43c0aba32

View file

@ -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;
} }