Merge pull request #1216 from arthur-jx/master

1. 修改gpio中断没有清标志位的问题
This commit is contained in:
ZYH 2018-02-09 12:35:11 +08:00 committed by GitHub
commit 3c49837d46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);