summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwuyangyong <[email protected]>2011-07-01 12:36:16 +0000
committerwuyangyong <[email protected]>2011-07-01 12:36:16 +0000
commit07b16c0664cbcd80c04f874dee228fb05d5e980f (patch)
tree87482fd9dc0ac62c1cd812f4374b65fd9db63549
parentb850320773473ae35a9be5ce17ba5065b56613f2 (diff)
update en28j60 driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1572 bbd45198-f89e-11dd-88c7-29a3b14d5316
-rw-r--r--bsp/stm32f10x/stm32f10x_it.c8
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();
}