You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/12/03 06:33:25 UTC

[GitHub] [incubator-nuttx] yjdwbj commented on a change in pull request #2464: Added: MT29F2G Nand Flash block driver for sam4s-xplained-pro.

yjdwbj commented on a change in pull request #2464:
URL: https://github.com/apache/incubator-nuttx/pull/2464#discussion_r534733637



##########
File path: drivers/mmcsd/mmcsd_sdio.c
##########
@@ -2645,7 +2645,7 @@ static int mmcsd_widebus(FAR struct mmcsd_state_s *priv)
       priv->widebus = true;
 
       SDIO_CLOCK(priv->dev, CLOCK_SD_TRANSFER_4BIT);
-      usleep(MMCSD_CLK_DELAY);
+      up_udelay(MMCSD_CLK_DELAY);

Review comment:
       I just already to test the `nxsig_usleep` as your mention to using.  But the result of is hanging like to using the `usleep`.




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

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