Enable display and backlight on panic.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26917 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tobias Diedrich 2010-06-18 13:45:24 +00:00
parent be7e835d92
commit 68e2023184
9 changed files with 18 additions and 0 deletions

View file

@ -35,6 +35,8 @@ static inline void _backlight_off(void)
lcd_enable(false);
}
#define _backlight_panic_on() _backlight_on()
static inline bool _backlight_init(void)
{
GPIOD_DIR |= (1<<7); /* for button light */