summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-04-26 11:05:53 +0000
committerThomas Martitz <kugel@rockbox.org>2009-04-26 11:05:53 +0000
commitace509a2ffe0f334d843a7fd13aabd426e23b6d5 (patch)
tree4ddb266cbd450bb59a56cd99486d76563e41d7f5
parent48db5b53c5ac1dfcfd5ed878e25e864d104f0590 (diff)
downloadrockbox-ace509a2ffe0f334d843a7fd13aabd426e23b6d5.tar.gz
rockbox-ace509a2ffe0f334d843a7fd13aabd426e23b6d5.zip
FS#10158 - e200v2 button delay revisited by Michael Chicoine to fix some weirdnesses with button reading.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20800 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c b/firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c
index 624466b1a6..e1d5d1d2cf 100644
--- a/firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c
+++ b/firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c
@@ -205,7 +205,7 @@ int button_read_device(void)
GPIOC_DIR &= ~(1<<2|1<<3|1<<4|1<<5|1<<6);
- int delay = 2; /* small delay needed to read buttons correctly */
+ int delay = 8; /* small delay needed to read buttons correctly */
while(delay--);
/* direct GPIO connections */