Add NOP to give time for ICR register write

This commit is contained in:
Abhijit Kshirsagar Kshirsagar 2023-09-04 19:38:48 +05:30
parent 5f32671262
commit 9aedf55e32
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ void SW2_Handler(void)
}
GPIO_PORTF_ICR_R = 0x11;
__asm(" nop");
}