arch/arm/src/lpc17xx_40xx/lpc17_40_ethernet.c: Use usleep() instead of up_delay() for large wait times.
This commit is contained in:
parent
de70e689cd
commit
a6b31e3f03
@ -2741,7 +2741,7 @@ static inline int lpc17_40_phyinit(struct lpc17_40_driver_s *priv)
|
||||
|
||||
while ((lpc17_40_phyread(phyaddr, MII_DP83848C_STS) & 0x0001) == 0)
|
||||
{
|
||||
up_udelay(40000);
|
||||
usleep(40000);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user