summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/ipod
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2011-02-10 10:22:44 +0000
committerMichael Sparmann <theseven@rockbox.org>2011-02-10 10:22:44 +0000
commit6f9d2ad130701ec6b54ed90885c6972dbef79d27 (patch)
tree0f1769ec189354f37ad0cf206df8575361d12ae0 /firmware/target/arm/ipod
parent42c0c9a6196bf770ddb4bd444a9b178dfdf5582f (diff)
downloadrockbox-6f9d2ad130701ec6b54ed90885c6972dbef79d27.tar.gz
rockbox-6f9d2ad130701ec6b54ed90885c6972dbef79d27.tar.bz2
rockbox-6f9d2ad130701ec6b54ed90885c6972dbef79d27.zip
Fix more red. Two had been hiding.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29274 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/ipod')
-rw-r--r--firmware/target/arm/ipod/button-clickwheel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/ipod/button-clickwheel.c b/firmware/target/arm/ipod/button-clickwheel.c
index dc16aec853..a22929760c 100644
--- a/firmware/target/arm/ipod/button-clickwheel.c
+++ b/firmware/target/arm/ipod/button-clickwheel.c
@@ -389,8 +389,8 @@ bool button_hold(void)
#if CONFIG_CPU==S5L8701
bool value = (PDAT14 & (1 << 6)) == 0;
if (value)
- PCON15 = (PCONF & ~0xffff0000) | 0x11110000;
- else PCON15 = (PCONF & ~0xffff0000) | 0x22220000;
+ PCON15 = (PCON15 & ~0xffff0000) | 0x11110000;
+ else PCON15 = (PCON15 & ~0xffff0000) | 0x22220000;
return value;
#elif CONFIG_CPU==S5L8702
if (USEC_TIMER - holdswitch_last_read > 100000)