diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2008-12-24 04:53:45 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2008-12-24 04:53:45 +0000 |
commit | 3e7bdb9c2482cd85c993b4c51b7bec24fb1f66ef (patch) | |
tree | 8a13221dab9a9fef5b57b0a476d8c33616ad92f8 /firmware/target/arm/as3525/sansa-c200v2 | |
parent | f5be029854625d94d4c4280a62efcd496286a7d3 (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.c | 2 |
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); |