summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sansa-c200v2
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/sansa-c200v2')
-rw-r--r--firmware/target/arm/as3525/sansa-c200v2/backlight-target.h7
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);
27void _backlight_pwm(int on); 27void _backlight_pwm(int on);
28void _backlight_on(void); 28void _backlight_on(void);
29void _backlight_off(void); 29void _backlight_off(void);
30
31static inline void _backlight_panic_on(void)
32{
33 _backlight_on();
34 _backlight_pwm(1);
35}
36
30void _backlight_set_brightness(int brightness); 37void _backlight_set_brightness(int brightness);
31int __backlight_is_on(void); 38int __backlight_is_on(void);
32 39