We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a252b07 commit f3f69b8Copy full SHA for f3f69b8
features/netsocket/emac-drivers/TARGET_NUVOTON_EMAC/TARGET_M480/m480_eth.c
@@ -84,7 +84,7 @@ static int reset_phy(void)
84
85
}
86
87
- if(delayCnt == 0) {
+ if(delayCnt == -1) {
88
NU_DEBUGF(("Reset phy failed\n"));
89
return(-1);
90
@@ -105,7 +105,7 @@ static int reset_phy(void)
105
break;
106
107
108
109
NU_DEBUGF(("AN failed. Set to 100 FULL\n"));
110
EMAC->CTL |= (EMAC_CTL_OPMODE_Msk | EMAC_CTL_FUDUP_Msk);
111
0 commit comments