aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-05-08 10:04:30 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-05-08 10:04:30 +0000
commit5287718f21e95e2718a7f459118dbcdc797b4bca (patch)
tree617419588a10709b8b81ecf10d28497da9500f3d /testhal
parentd3af6e7b166b43bfe68c69bebff518a45dcca02b (diff)
downloadChibiOS-5287718f21e95e2718a7f459118dbcdc797b4bca.tar.gz
ChibiOS-5287718f21e95e2718a7f459118dbcdc797b4bca.tar.bz2
ChibiOS-5287718f21e95e2718a7f459118dbcdc797b4bca.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2936 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal')
-rw-r--r--testhal/STM32/SDIO/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/testhal/STM32/SDIO/main.c b/testhal/STM32/SDIO/main.c
index 30859f6be..bd5375910 100644
--- a/testhal/STM32/SDIO/main.c
+++ b/testhal/STM32/SDIO/main.c
@@ -51,6 +51,7 @@ int main(void) {
sdcStart(&SDCD1, &sdccfg);
if (!sdcConnect(&SDCD1)) {
int i;
+ /* Repeated multiple reads.*/
for (i = 0; i < 1000; i++)
if (sdcRead(&SDCD1, 0, buf, 16))
chSysHalt();