update en28j60 driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1572 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
b850320773
commit
07b16c0664
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user