diff options
Diffstat (limited to 'firmware/target/arm/as3525/sansa-fuzev2/backlight-fuzev2.c')
-rw-r--r-- | firmware/target/arm/as3525/sansa-fuzev2/backlight-fuzev2.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/firmware/target/arm/as3525/sansa-fuzev2/backlight-fuzev2.c b/firmware/target/arm/as3525/sansa-fuzev2/backlight-fuzev2.c index a01b168b71..71f0c1a3f2 100644 --- a/firmware/target/arm/as3525/sansa-fuzev2/backlight-fuzev2.c +++ b/firmware/target/arm/as3525/sansa-fuzev2/backlight-fuzev2.c @@ -26,12 +26,12 @@ #include "ascodec.h" #include "as3514.h" -void _backlight_set_brightness(int brightness) +void backlight_hw_brightness(int brightness) { ascodec_write_pmu(AS3543_BACKLIGHT, 2, brightness * 10); } -bool _backlight_init(void) +bool backlight_hw_init(void) { ascodec_write_pmu(AS3543_BACKLIGHT, 1, 0x80); ascodec_write_pmu(AS3543_BACKLIGHT, 2, backlight_brightness * 10); @@ -49,7 +49,7 @@ bool _backlight_init(void) return true; } -void _backlight_on(void) +void backlight_hw_on(void) { #ifdef HAVE_LCD_ENABLE lcd_enable(true); /* power on lcd + visible display */ @@ -57,7 +57,7 @@ void _backlight_on(void) ascodec_write_pmu(AS3543_BACKLIGHT, 1, 0x80); } -void _backlight_off(void) +void backlight_hw_off(void) { ascodec_write_pmu(AS3543_BACKLIGHT, 1, 0x0); #ifdef HAVE_LCD_ENABLE @@ -65,7 +65,7 @@ void _backlight_off(void) #endif } -void _buttonlight_on(void) +void buttonlight_hw_on(void) { if (amsv2_variant == 0) { @@ -77,7 +77,7 @@ void _buttonlight_on(void) } } -void _buttonlight_off(void) +void buttonlight_hw_off(void) { if (amsv2_variant == 0) { |