Updates based on coding style review of PR 755

This commit is contained in:
Gregory Nutt
2018-11-09 07:51:43 -06:00
parent 96da659c0b
commit 31485356b8
2 changed files with 12 additions and 4 deletions
+4 -2
View File
@@ -54,6 +54,7 @@
#include <nuttx/arch.h>
#include <nuttx/clock.h>
#include <nuttx/signal.h>
#include <nuttx/spi/spi.h>
#include <nuttx/fs/fs.h>
#include <nuttx/mmcsd.h>
@@ -445,8 +446,9 @@ static int mmcsd_waitready(FAR struct mmcsd_slot_s *slot)
if (elapsed > MMCSD_DELAY_10MS)
{
// Give other threads time to run
usleep(10000);
/* Give other threads time to run */
nxsig_usleep(10000);
}
}
while (elapsed < MMCSD_DELAY_500MS);