summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/CREDITS1
-rw-r--r--firmware/target/arm/philips/backlight-hdd.c10
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/CREDITS b/docs/CREDITS
index 2d1ae6b..0f97fa7 100644
--- a/docs/CREDITS
+++ b/docs/CREDITS
@@ -561,6 +561,7 @@ Wojciech Lesniak
Tuomas Airaksinen
Calvin Walden
Michael Gentry
+David Fowle
The libmad team
The wavpack team
diff --git a/firmware/target/arm/philips/backlight-hdd.c b/firmware/target/arm/philips/backlight-hdd.c
index 6c62d08..33022c7 100644
--- a/firmware/target/arm/philips/backlight-hdd.c
+++ b/firmware/target/arm/philips/backlight-hdd.c
@@ -36,14 +36,24 @@ void _backlight_set_brightness(int brightness)
void _backlight_on(void)
{
+#if defined(PHILIPS_HDD6330)
+ GPO32_ENABLE |= 0x400;
+ GPO32_VAL |= 0x400;
+#else
GPO32_VAL &= ~0x1000000;
GPO32_ENABLE &= ~0x1000000;
+#endif
}
void _backlight_off(void)
{
+#if defined(PHILIPS_HDD6330)
+ GPO32_ENABLE |= 0x400;
+ GPO32_VAL &= ~0x400;
+#else
GPO32_VAL |= 0x1000000;
GPO32_ENABLE |= 0x1000000;
+#endif
}
#ifdef HAVE_BUTTON_LIGHT