diff options
author | Tobias Diedrich <ranma+coreboot@tdiedrich.de> | 2010-06-18 13:45:24 +0000 |
---|---|---|
committer | Tobias Diedrich <ranma+coreboot@tdiedrich.de> | 2010-06-18 13:45:24 +0000 |
commit | 68e2023184ab0138a0c475e2100c1d76891ef2af (patch) | |
tree | e12ab23777f0c042fc970a8c12b886afaef87c87 /firmware/target/arm/as3525/sansa-c200v2/backlight-target.h | |
parent | be7e835d92b6b872767c2ce1678524b06c57fd65 (diff) | |
download | rockbox-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-c200v2/backlight-target.h')
-rw-r--r-- | firmware/target/arm/as3525/sansa-c200v2/backlight-target.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/sansa-c200v2/backlight-target.h b/firmware/target/arm/as3525/sansa-c200v2/backlight-target.h index c09e759138..4a098f7f28 100644 --- a/firmware/target/arm/as3525/sansa-c200v2/backlight-target.h +++ b/firmware/target/arm/as3525/sansa-c200v2/backlight-target.h | |||
@@ -27,6 +27,13 @@ bool _backlight_init(void); | |||
27 | void _backlight_pwm(int on); | 27 | void _backlight_pwm(int on); |
28 | void _backlight_on(void); | 28 | void _backlight_on(void); |
29 | void _backlight_off(void); | 29 | void _backlight_off(void); |
30 | |||
31 | static inline void _backlight_panic_on(void) | ||
32 | { | ||
33 | _backlight_on(); | ||
34 | _backlight_pwm(1); | ||
35 | } | ||
36 | |||
30 | void _backlight_set_brightness(int brightness); | 37 | void _backlight_set_brightness(int brightness); |
31 | int __backlight_is_on(void); | 38 | int __backlight_is_on(void); |
32 | 39 | ||