summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/as3525/sansa-clip/backlight-target.h
diff options
context:
space:
mode:
authorTobias Diedrich <ranma+coreboot@tdiedrich.de>2010-06-18 13:45:24 +0000
committerTobias Diedrich <ranma+coreboot@tdiedrich.de>2010-06-18 13:45:24 +0000
commit68e2023184ab0138a0c475e2100c1d76891ef2af (patch)
treee12ab23777f0c042fc970a8c12b886afaef87c87 /firmware/target/arm/as3525/sansa-clip/backlight-target.h
parentbe7e835d92b6b872767c2ce1678524b06c57fd65 (diff)
downloadrockbox-68e2023184ab0138a0c475e2100c1d76891ef2af.tar.gz
rockbox-68e2023184ab0138a0c475e2100c1d76891ef2af.zip
Enable display and backlight on panic.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26917 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sansa-clip/backlight-target.h')
-rw-r--r--firmware/target/arm/as3525/sansa-clip/backlight-target.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/sansa-clip/backlight-target.h b/firmware/target/arm/as3525/sansa-clip/backlight-target.h
index f836fb9ab2..00c6e5cc44 100644
--- a/firmware/target/arm/as3525/sansa-clip/backlight-target.h
+++ b/firmware/target/arm/as3525/sansa-clip/backlight-target.h
@@ -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 */