From ca0161af2201e4d1f312653c7aafd7b0fa77d7cc Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Fri, 24 Apr 2020 14:18:55 +0100 Subject: [PATCH] m480_eth: fix alignment Previous commit was wrong (github does not show tabs properly) --- .../emac-drivers/TARGET_NUVOTON_EMAC/TARGET_M480/m480_eth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/netsocket/emac-drivers/TARGET_NUVOTON_EMAC/TARGET_M480/m480_eth.c b/features/netsocket/emac-drivers/TARGET_NUVOTON_EMAC/TARGET_M480/m480_eth.c index be6f0b828f..e35ddd2965 100644 --- a/features/netsocket/emac-drivers/TARGET_NUVOTON_EMAC/TARGET_M480/m480_eth.c +++ b/features/netsocket/emac-drivers/TARGET_NUVOTON_EMAC/TARGET_M480/m480_eth.c @@ -79,7 +79,7 @@ static int reset_phy(void) delayCnt = 2000; while(delayCnt > 0) { - delayCnt--; + delayCnt--; if((mdio_read(CONFIG_PHY_ADDR, MII_BMCR) & BMCR_RESET) == 0) break; @@ -101,7 +101,7 @@ static int reset_phy(void) delayCnt = 200000; while(delayCnt > 0) { - delayCnt--; + delayCnt--; if((mdio_read(CONFIG_PHY_ADDR, MII_BMSR) & (BMSR_ANEGCOMPLETE | BMSR_LSTATUS)) == (BMSR_ANEGCOMPLETE | BMSR_LSTATUS)) break;