Skip to content

Commit edeeb33

Browse files
Update gpio_irq_api.c
1 parent 24384a0 commit edeeb33

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

targets/TARGET_TT/TARGET_TT_M3HQ/gpio_irq_api.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -398,12 +398,9 @@ void INT19_22_IRQHandler(void)
398398
void INT23_26_IRQHandler(void)
399399
{
400400
uint32_t int_num = TSB_IMN->FLG5;
401-
if( int_num & BIT22)
402-
{
401+
if( int_num & BIT22) {
403402
INT_IRQHandler(PT1, 24);
404-
}
405-
else if(int_num & BIT21)
406-
{
403+
} else if(int_num & BIT21) {
407404
INT_IRQHandler(PT0, 23);
408405
}
409406
}

0 commit comments

Comments
 (0)