summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-03-15 19:08:24 +0000
committerJens Arnold <amiconn@rockbox.org>2007-03-15 19:08:24 +0000
commit39e1b59c48f329508823c6443646dc2d3aeae621 (patch)
treef2e65693cc7f4eb478a03686a5386c58214dd438 /firmware
parent272beb9af9f9bed7bdf389d294796157591f3673 (diff)
Fixed backlight voltage for M5. Now the backlight is as bright as in the original firmware.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12787 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/coldfire/iaudio/pcf50606-iaudio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/coldfire/iaudio/pcf50606-iaudio.c b/firmware/target/coldfire/iaudio/pcf50606-iaudio.c
index f8f6c1d675..0614355b5d 100644
--- a/firmware/target/coldfire/iaudio/pcf50606-iaudio.c
+++ b/firmware/target/coldfire/iaudio/pcf50606-iaudio.c
@@ -31,7 +31,11 @@ static void set_voltages(void)
{
0xf4, /* IOREGC = 2.9V, ON in all states */
0xf0, /* D1REGC = 2.5V, ON in all states */
+#ifdef IAUDIO_M5
+ 0xf8, /* D2REGC = 3.3V, ON in all states */
+#else
0xf6, /* D2REGC = 3.1V, ON in all states */
+#endif
0xf4, /* D3REGC = 2.9V, ON in all states */
};