summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sansa-clip
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/sansa-clip')
-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)
35 lcd_enable(false); 35 lcd_enable(false);
36} 36}
37 37
38#define _backlight_panic_on() _backlight_on()
39
38static inline bool _backlight_init(void) 40static inline bool _backlight_init(void)
39{ 41{
40 GPIOD_DIR |= (1<<7); /* for button light */ 42 GPIOD_DIR |= (1<<7); /* for button light */