mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
f5be029854
commit
3e7bdb9c24
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue