btashton commented on a change in pull request #2464: URL: https://github.com/apache/incubator-nuttx/pull/2464#discussion_r534780697
########## 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: Another quick useful test would be for you to run the sleep command from nsh. That would give us some confidence that the context switching logic is working correctly. ---------------------------------------------------------------- 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: us...@infra.apache.org