xiaoxiang781216 commented on code in PR #6251:
URL: https://github.com/apache/incubator-nuttx/pull/6251#discussion_r871426739


##########
arch/arm/src/c5471/c5471_ethernet.c:
##########
@@ -1892,7 +1892,7 @@ static int c5471_ifup(struct net_driver_s *dev)
 
   putreg32((getreg32(EIM_CTRL) | EIM_CTRL_ESM_EN), EIM_CTRL);      /* enable 
ESM */
   putreg32((getreg32(ENET0_MODE) | ENET_MODE_ENABLE), ENET0_MODE); /* enable 
ENET */
-  up_mdelay(100);
+  nxsig_usleep(100000);

Review Comment:
   What's the dependence you mean? the schedule tick?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to