summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/philips/hdd1630/backlight-hdd1630.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/philips/hdd1630/backlight-hdd1630.c b/firmware/target/arm/philips/hdd1630/backlight-hdd1630.c
index 47a5d1c47a..00f38bb0f4 100644
--- a/firmware/target/arm/philips/hdd1630/backlight-hdd1630.c
+++ b/firmware/target/arm/philips/hdd1630/backlight-hdd1630.c
@@ -36,14 +36,14 @@ void _backlight_set_brightness(int brightness)
void _backlight_on(void)
{
- GPO32_VAL &= ~0x1000000;
- GPO32_ENABLE &= ~0x1000000;
+ GPO32_ENABLE |= 0x400;
+ GPO32_VAL |= 0x400;
}
void _backlight_off(void)
{
- GPO32_VAL |= 0x1000000;
- GPO32_ENABLE |= 0x1000000;
+ GPO32_ENABLE |= 0x400;
+ GPO32_VAL &=~0x400;
}
#ifdef HAVE_BUTTON_LIGHT