summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/as3525/sansa-clipv2/backlight-target.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/sansa-clipv2/backlight-target.h b/firmware/target/arm/as3525/sansa-clipv2/backlight-target.h
index 3000b575c7..b2da63dbff 100644
--- a/firmware/target/arm/as3525/sansa-clipv2/backlight-target.h
+++ b/firmware/target/arm/as3525/sansa-clipv2/backlight-target.h
@@ -36,12 +36,12 @@ static inline bool _backlight_init(void)
static inline void _buttonlight_on(void)
{
- GPIOA_PIN(5) |= 1<<5;
+ GPIOA_PIN(5) = 1<<5;
}
static inline void _buttonlight_off(void)
{
- GPIOA_PIN(5) &= ~(1<<5);
+ GPIOA_PIN(5) = 0;
}