summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/system-as3525.c
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/system-as3525.c
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/system-as3525.c')
-rw-r--r--firmware/target/arm/as3525/system-as3525.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c
index 5eae1a35b3..3ba56cf30a 100644
--- a/firmware/target/arm/as3525/system-as3525.c
+++ b/firmware/target/arm/as3525/system-as3525.c
@@ -392,6 +392,8 @@ void system_reboot(void)
392 392
393void system_exception_wait(void) 393void system_exception_wait(void)
394{ 394{
395 /* make sure lcd+backlight are on */
396 _backlight_panic_on();
395 /* wait until button release (if a button is pressed) */ 397 /* wait until button release (if a button is pressed) */
396 while(button_read_device()); 398 while(button_read_device());
397 /* then wait until next button press */ 399 /* then wait until next button press */