Skip to content

Commit

Permalink
Update hal_pal_lld.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Joy committed May 25, 2023
1 parent 62002bf commit 859a981
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions os/hal/ports/WB32/LLD/GPIOv1/hal_pal_lld.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ void _pal_lld_enablepadevent(ioportid_t port,
else
EXTI->FTSR &= ~padmask;

EXTI->PR = padmask;

/* Programming interrupt and event registers.*/
EXTI->IMR |= padmask;
EXTI->EMR &= ~padmask;
Expand Down

0 comments on commit 859a981

Please sign in to comment.