diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-05-08 10:04:30 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-05-08 10:04:30 +0000 |
commit | 5287718f21e95e2718a7f459118dbcdc797b4bca (patch) | |
tree | 617419588a10709b8b81ecf10d28497da9500f3d /testhal | |
parent | d3af6e7b166b43bfe68c69bebff518a45dcca02b (diff) | |
download | ChibiOS-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.c | 1 |
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();
|