summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2011-02-07 18:53:17 +0000
committerMichael Sparmann <theseven@rockbox.org>2011-02-07 18:53:17 +0000
commit91f9b0b8ca698315316abbf98bfb7667a0ecd27b (patch)
tree71cbaa9fe60b50dd470cd22351a5f358b910f641 /firmware/target
parent87da25c87cca6927d81bec2bf5c75b719f7d062f (diff)
iPod Classic: Fix hold switch glitches
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29242 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/ipod/button-clickwheel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/ipod/button-clickwheel.c b/firmware/target/arm/ipod/button-clickwheel.c
index 9f026658fb..632936965a 100644
--- a/firmware/target/arm/ipod/button-clickwheel.c
+++ b/firmware/target/arm/ipod/button-clickwheel.c
@@ -383,7 +383,7 @@ bool button_hold(void)
#if CONFIG_CPU==S5L8701
return ((PDAT14 & (1 << 6)) == 0);
#elif CONFIG_CPU==S5L8702
- return ((PDATE & (1 << 3)) == 0);
+ return ((PDATE & (1 << 4)) == 0);
#endif
}