mirror of https://github.com/ARMmbed/mbed-os.git
m480_eth: fix alignment
Previous commit was wrong (github does not show tabs properly)pull/12839/head
parent
60c58a62a4
commit
ca0161af22
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue