aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/mmc_spi.c
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-03-11 15:05:09 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-03-11 15:05:09 +0000
commitfc2af0f5896de947b3c59a9251ac4eef91ed005c (patch)
treeca279f1743bf50839eede1f497380706ee9e0af0 /os/hal/src/mmc_spi.c
parent18202523f8727dcebb27ed2f9f6d3060e6474c5a (diff)
downloadChibiOS-fc2af0f5896de947b3c59a9251ac4eef91ed005c.tar.gz
ChibiOS-fc2af0f5896de947b3c59a9251ac4eef91ed005c.tar.bz2
ChibiOS-fc2af0f5896de947b3c59a9251ac4eef91ed005c.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7759 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src/mmc_spi.c')
-rw-r--r--os/hal/src/mmc_spi.c4
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);