summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/tcc77x
diff options
context:
space:
mode:
authorVitja Makarov <vitja.makarov@gmail.com>2009-09-18 06:01:56 +0000
committerVitja Makarov <vitja.makarov@gmail.com>2009-09-18 06:01:56 +0000
commitf43c0aba322f37c0ecb4609ca263d6e56302538b (patch)
tree9a44778e13161920f4b8ef2fd6acc8426bd5805d /firmware/target/arm/tcc77x
parent36e8fc08726fcf40071aad48f20df004d9c499ef (diff)
downloadrockbox-f43c0aba322f37c0ecb4609ca263d6e56302538b.tar.gz
rockbox-f43c0aba322f37c0ecb4609ca263d6e56302538b.tar.bz2
rockbox-f43c0aba322f37c0ecb4609ca263d6e56302538b.zip
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
Diffstat (limited to 'firmware/target/arm/tcc77x')
-rw-r--r--firmware/target/arm/tcc77x/iaudio7/backlight-target.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/tcc77x/iaudio7/backlight-target.h b/firmware/target/arm/tcc77x/iaudio7/backlight-target.h
index 597583b16f..9a6182ff02 100644
--- a/firmware/target/arm/tcc77x/iaudio7/backlight-target.h
+++ b/firmware/target/arm/tcc77x/iaudio7/backlight-target.h
@@ -29,6 +29,8 @@ void power_touch_panel(bool on);
static inline bool _backlight_init(void)
{
GPIOD_DIR |= 0x2;
+ /* set backlight on by default, since the screen is unreadable without it */
+ GPIOD |= 0x2;
return true;
}