Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: arch/TARGET_Freescale/fsl_enet_driver.c
- Revision:
- 20:620d381e7f4c
- Parent:
- 19:007f4e6b2776
diff -r 007f4e6b2776 -r 620d381e7f4c arch/TARGET_Freescale/fsl_enet_driver.c
--- 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);