summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sansa-clip/backlight-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/sansa-clip/backlight-target.h')
-rw-r--r--firmware/target/arm/as3525/sansa-clip/backlight-target.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/firmware/target/arm/as3525/sansa-clip/backlight-target.h b/firmware/target/arm/as3525/sansa-clip/backlight-target.h
index 00c6e5cc44..669f0f5939 100644
--- a/firmware/target/arm/as3525/sansa-clip/backlight-target.h
+++ b/firmware/target/arm/as3525/sansa-clip/backlight-target.h
@@ -25,30 +25,30 @@
#include "lcd.h"
#include "backlight.h"
-static inline void _backlight_on(void)
+static inline void backlight_hw_on(void)
{
lcd_enable(true);
}
-static inline void _backlight_off(void)
+static inline void backlight_hw_off(void)
{
lcd_enable(false);
}
-#define _backlight_panic_on() _backlight_on()
+#define _backlight_panic_on() backlight_hw_on()
-static inline bool _backlight_init(void)
+static inline bool backlight_hw_init(void)
{
GPIOD_DIR |= (1<<7); /* for button light */
return true;
}
-static inline void _buttonlight_on(void)
+static inline void buttonlight_hw_on(void)
{
GPIOD_PIN(7) = (1<<7);
}
-static inline void _buttonlight_off(void)
+static inline void buttonlight_hw_off(void)
{
GPIOD_PIN(7) = 0;
}