summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorSzymon Dziok <b0hoon@o2.pl>2011-09-11 11:58:46 +0000
committerSzymon Dziok <b0hoon@o2.pl>2011-09-11 11:58:46 +0000
commit6f00e82512e645627f25263e75e54a61d72f9fb5 (patch)
tree277de1bb11dc0f46bb4ea654f317bee80b6d23f1 /firmware
parent6c1de04a6315f0a970ea10b72af35c05bff2ce02 (diff)
downloadrockbox-6f00e82512e645627f25263e75e54a61d72f9fb5.tar.gz
rockbox-6f00e82512e645627f25263e75e54a61d72f9fb5.zip
HDD6330: Fix random strange behavior of the touchpad. Setting the sensitivity higher than normal is not a good idea for this one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30504 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/philips/power-hdd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/target/arm/philips/power-hdd.c b/firmware/target/arm/philips/power-hdd.c
index 4806276270..9f1c047a1e 100644
--- a/firmware/target/arm/philips/power-hdd.c
+++ b/firmware/target/arm/philips/power-hdd.c
@@ -61,7 +61,7 @@ void power_init(void)
61 GPIOD_OUTPUT_VAL |= 0x80; /* high */ 61 GPIOD_OUTPUT_VAL |= 0x80; /* high */
62 62
63 GPIOA_OUTPUT_EN &= ~0x20; /* CLK */ 63 GPIOA_OUTPUT_EN &= ~0x20; /* CLK */
64 64
65 GPIOA_OUTPUT_EN |= 0x10; /* set DATA */ 65 GPIOA_OUTPUT_EN |= 0x10; /* set DATA */
66 GPIOA_OUTPUT_VAL |= 0x10; /* high */ 66 GPIOA_OUTPUT_VAL |= 0x10; /* high */
67 67
@@ -70,8 +70,6 @@ void power_init(void)
70 logf("touchpad not ready"); 70 logf("touchpad not ready");
71 } 71 }
72#if defined(PHILIPS_HDD6330) 72#if defined(PHILIPS_HDD6330)
73 /* set the maximum touch sensivity */
74 touchpad_set_parameter(0,0x20,0x7785);
75 /* reduce transmission overhead */ 73 /* reduce transmission overhead */
76 touchpad_set_parameter(0,0x21,0x0008); 74 touchpad_set_parameter(0,0x21,0x0008);
77 /* set GPO_LEVELS = 0 - for the buttonlights */ 75 /* set GPO_LEVELS = 0 - for the buttonlights */