1. 修改gpio中断没有清标志位的问题
This commit is contained in:
parent
84a44e58dd
commit
24fb0a3656
|
@ -754,7 +754,7 @@ INIT_BOARD_EXPORT(stm32_hw_pin_init);
|
|||
|
||||
rt_inline void pin_irq_hdr(int irqno)
|
||||
{
|
||||
EXTI_ClearITPendingBit(pin_irq_map[irqno].irqno);
|
||||
EXTI_ClearITPendingBit(pin_irq_map[irqno].irqbit);
|
||||
if(pin_irq_hdr_tab[irqno].hdr)
|
||||
{
|
||||
pin_irq_hdr_tab[irqno].hdr(pin_irq_hdr_tab[irqno].args);
|
||||
|
|
Loading…
Reference in New Issue