lwip-eth for Seeed Arch Max.
Fork of lwip-eth-arch-max-dev by
Diff: arch/TARGET_Freescale/fsl_enet_driver.c
- Revision:
- 20:620d381e7f4c
- Parent:
- 19:007f4e6b2776
--- a/arch/TARGET_Freescale/fsl_enet_driver.c Fri Sep 19 13:45:16 2014 +0100 +++ b/arch/TARGET_Freescale/fsl_enet_driver.c Mon Sep 22 17:30:30 2014 +0100 @@ -395,11 +395,8 @@ /* Get device number and check the parameter*/ devNumber = enetIfPtr->deviceNumber; - /* Store the global ENET structure for ISR input parameters for instance 0*/ - if (!devNumber) - { - enetIfHandle = enetIfPtr; - } + /* Store the global ENET structure for ISR input parameters */ + enetIfHandle = enetIfPtr; /* Turn on ENET module clock gate */ CLOCK_SYS_EnableEnetClock(0U);