diff options
| author | LiuJX <[email protected]> | 2018-02-08 23:54:55 +0800 |
|---|---|---|
| committer | LiuJX <[email protected]> | 2018-02-08 23:54:55 +0800 |
| commit | 24fb0a36563fc00093fb54a1ee15d2d9978d6e8f (patch) | |
| tree | ebec692347f5e784c7c92ff339443676d8068ee7 | |
| parent | 84a44e58ddcd57d12c3a1dcbff17ff9d96b2cd41 (diff) | |
1. 修改gpio中断没有清标志位的问题
| -rwxr-xr-x | bsp/stm32f10x/drivers/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/stm32f10x/drivers/gpio.c b/bsp/stm32f10x/drivers/gpio.c index abb62311a9..3d499bb5a2 100755 --- a/bsp/stm32f10x/drivers/gpio.c +++ b/bsp/stm32f10x/drivers/gpio.c @@ -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); |
