From 3e7bdb9c2482cd85c993b4c51b7bec24fb1f66ef Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Wed, 24 Dec 2008 04:53:45 +0000 Subject: 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 --- firmware/target/arm/as3525/sansa-c200v2/button-c200v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target/arm') 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); -- cgit v1.2.3