diff options
Diffstat (limited to 'os/hal/src/mmc_spi.c')
-rw-r--r-- | os/hal/src/mmc_spi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/src/mmc_spi.c b/os/hal/src/mmc_spi.c index 87c4df3af..465d2224a 100644 --- a/os/hal/src/mmc_spi.c +++ b/os/hal/src/mmc_spi.c @@ -182,7 +182,7 @@ static void wait(MMCDriver *mmcp) { }
#if MMC_NICE_WAITING == TRUE
/* Trying to be nice with the other threads.*/
- osalThreadSleep(1);
+ osalThreadSleepMilliseconds(1);
#endif
}
}
@@ -365,7 +365,7 @@ static void sync(MMCDriver *mmcp) { }
#if MMC_NICE_WAITING == TRUE
/* Trying to be nice with the other threads.*/
- osalThreadSleep(1);
+ osalThreadSleepMilliseconds(1);
#endif
}
spiUnselect(mmcp->config->spip);
|