summaryrefslogtreecommitdiff
path: root/firmware/target/arm/philips/hdd1630/backlight-hdd1630.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/philips/hdd1630/backlight-hdd1630.c')
-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)
36 36
37void _backlight_on(void) 37void _backlight_on(void)
38{ 38{
39 GPO32_VAL &= ~0x1000000; 39 GPO32_ENABLE |= 0x400;
40 GPO32_ENABLE &= ~0x1000000; 40 GPO32_VAL |= 0x400;
41} 41}
42 42
43void _backlight_off(void) 43void _backlight_off(void)
44{ 44{
45 GPO32_VAL |= 0x1000000; 45 GPO32_ENABLE |= 0x400;
46 GPO32_ENABLE |= 0x1000000; 46 GPO32_VAL &=~0x400;
47} 47}
48 48
49#ifdef HAVE_BUTTON_LIGHT 49#ifdef HAVE_BUTTON_LIGHT