diff options
Diffstat (limited to 'firmware/target/arm/as3525/sansa-c200v2')
-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 | ||