Add NOP to give time for ICR register write
This commit is contained in:
parent
5f32671262
commit
9aedf55e32
|
@ -39,6 +39,7 @@ void SW2_Handler(void)
|
|||
}
|
||||
|
||||
GPIO_PORTF_ICR_R = 0x11;
|
||||
__asm(" nop");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue