Skip to content

Commit ca0161a

Browse files
authored
m480_eth: fix alignment
Previous commit was wrong (github does not show tabs properly)
1 parent 60c58a6 commit ca0161a

File tree

1 file changed

+2
-2
lines changed
  • features/netsocket/emac-drivers/TARGET_NUVOTON_EMAC/TARGET_M480

1 file changed

+2
-2
lines changed

features/netsocket/emac-drivers/TARGET_NUVOTON_EMAC/TARGET_M480/m480_eth.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ static int reset_phy(void)
7979

8080
delayCnt = 2000;
8181
while(delayCnt > 0) {
82-
delayCnt--;
82+
delayCnt--;
8383
if((mdio_read(CONFIG_PHY_ADDR, MII_BMCR) & BMCR_RESET) == 0)
8484
break;
8585

@@ -101,7 +101,7 @@ static int reset_phy(void)
101101

102102
delayCnt = 200000;
103103
while(delayCnt > 0) {
104-
delayCnt--;
104+
delayCnt--;
105105
if((mdio_read(CONFIG_PHY_ADDR, MII_BMSR) & (BMSR_ANEGCOMPLETE | BMSR_LSTATUS))
106106
== (BMSR_ANEGCOMPLETE | BMSR_LSTATUS))
107107
break;

0 commit comments

Comments
 (0)