summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sansa-c200v2
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2008-12-24 04:53:45 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2008-12-24 04:53:45 +0000
commit3e7bdb9c2482cd85c993b4c51b7bec24fb1f66ef (patch)
tree8a13221dab9a9fef5b57b0a476d8c33616ad92f8 /firmware/target/arm/as3525/sansa-c200v2
parentf5be029854625d94d4c4280a62efcd496286a7d3 (diff)
Fix mistake in c200v2 button driver noticed by Thomas Maritiz.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19577 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sansa-c200v2')
-rw-r--r--firmware/target/arm/as3525/sansa-c200v2/button-c200v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sansa-c200v2/button-c200v2.c b/firmware/target/arm/as3525/sansa-c200v2/button-c200v2.c
index 18ae41ce97..86a6eb0c73 100644
--- a/firmware/target/arm/as3525/sansa-c200v2/button-c200v2.c
+++ b/firmware/target/arm/as3525/sansa-c200v2/button-c200v2.c
@@ -59,7 +59,7 @@ void button_int(void)
dir_save_c = GPIOC_DIR;
afsel_save_c = GPIOC_AFSEL;
- GPIOA_DIR &= ~(1<<2);
+ GPIOA_DIR &= ~(1<<3);
GPIOC_AFSEL &= ~(1<<6|1<<5|1<<4|1<<3);
GPIOC_DIR |= (1<<6|1<<5|1<<4|1<<3);