summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/ipod
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2011-02-10 10:16:27 +0000
committerMichael Sparmann <theseven@rockbox.org>2011-02-10 10:16:27 +0000
commit42c0c9a6196bf770ddb4bd444a9b178dfdf5582f (patch)
treeb7eb34f8d5179b0fbcc9a82e90e8cc0d2a429f59 /firmware/target/arm/ipod
parentcd8e8419f7a334a8ad89e21825b99745402a387e (diff)
downloadrockbox-42c0c9a6196bf770ddb4bd444a9b178dfdf5582f.tar.gz
rockbox-42c0c9a6196bf770ddb4bd444a9b178dfdf5582f.tar.bz2
rockbox-42c0c9a6196bf770ddb4bd444a9b178dfdf5582f.zip
Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29273 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 5d16381434..dc16aec853 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)
- PCONF = (PCONF & ~0xffff0000) | 0x11110000;
- else PCONF = (PCONF & ~0xffff0000) | 0x22220000;
+ PCON15 = (PCONF & ~0xffff0000) | 0x11110000;
+ else PCON15 = (PCONF & ~0xffff0000) | 0x22220000;
return value;
#elif CONFIG_CPU==S5L8702
if (USEC_TIMER - holdswitch_last_read > 100000)