arch/arm/src/lpc17xx_40xx/lpc17_40_ethernet.c: Use usleep() instead of up_delay() for large wait times.

This commit is contained in:
Augusto Fraga Giachero 2019-10-04 13:01:47 -06:00 committed by Gregory Nutt
parent de70e689cd
commit a6b31e3f03

View File

@ -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