mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Minor nitpick: don't do |= on the write-only GPIOA_IC register
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21251 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c61076e519
commit
79f348a178
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ static void init_pl180_controller(const int drive)
|
|||
/* setup isr for microsd monitoring */
|
||||
VIC_INT_ENABLE |= (INTERRUPT_GPIOA);
|
||||
/* clear previous irq */
|
||||
GPIOA_IC |= (1<<2);
|
||||
GPIOA_IC = (1<<2);
|
||||
/* enable edge detecting */
|
||||
GPIOA_IS &= ~(1<<2);
|
||||
/* detect both raising and falling edges */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue