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
This commit is contained in:
Michael Giacomelli 2008-12-24 04:53:45 +00:00
parent f5be029854
commit 3e7bdb9c24

View file

@ -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);