提交 07b16c06 编写于 作者: wuyangyong's avatar wuyangyong

update en28j60 driver

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1572 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 b8503207
...@@ -272,18 +272,18 @@ void ETH_IRQHandler(void) ...@@ -272,18 +272,18 @@ void ETH_IRQHandler(void)
* Output : None * Output : None
* Return : None * Return : None
*******************************************************************************/ *******************************************************************************/
void EXTI0_IRQHandler(void) void EXTI2_IRQHandler(void)
{ {
extern void enc28j60_isr(void); extern void enc28j60_isr(void);
/* enter interrupt */ /* enter interrupt */
rt_interrupt_enter(); rt_interrupt_enter();
/* Clear the Key Button EXTI line pending bit */
EXTI_ClearITPendingBit(EXTI_Line0);
enc28j60_isr(); enc28j60_isr();
/* Clear the Key Button EXTI line pending bit */
EXTI_ClearITPendingBit(EXTI_Line2);
/* leave interrupt */ /* leave interrupt */
rt_interrupt_leave(); rt_interrupt_leave();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册