diff options
| -rw-r--r-- | bsp/stm32f10x/stm32f10x_it.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bsp/stm32f10x/stm32f10x_it.c b/bsp/stm32f10x/stm32f10x_it.c index edbd848a0e..fcb2932513 100644 --- a/bsp/stm32f10x/stm32f10x_it.c +++ b/bsp/stm32f10x/stm32f10x_it.c @@ -272,18 +272,18 @@ void ETH_IRQHandler(void) * Output : None
* Return : None
*******************************************************************************/
-void EXTI0_IRQHandler(void)
+void EXTI2_IRQHandler(void)
{
extern void enc28j60_isr(void);
/* enter interrupt */
rt_interrupt_enter();
- /* Clear the Key Button EXTI line pending bit */
- EXTI_ClearITPendingBit(EXTI_Line0);
-
enc28j60_isr();
+ /* Clear the Key Button EXTI line pending bit */
+ EXTI_ClearITPendingBit(EXTI_Line2);
+
/* leave interrupt */
rt_interrupt_leave();
}
|
