aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM3-STM32F103-FATFS
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-07-02 09:13:14 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-07-02 09:13:14 +0000
commitc1da0e9344cc90bb8f1aa6e75d4706a7d5f8221c (patch)
treec31b37765d25bea282cd93aaa975c8318af34415 /demos/ARMCM3-STM32F103-FATFS
parent3440f11481452204d68283230b2e421df01e5d56 (diff)
downloadChibiOS-c1da0e9344cc90bb8f1aa6e75d4706a7d5f8221c.tar.gz
ChibiOS-c1da0e9344cc90bb8f1aa6e75d4706a7d5f8221c.tar.bz2
ChibiOS-c1da0e9344cc90bb8f1aa6e75d4706a7d5f8221c.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4383 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM3-STM32F103-FATFS')
-rw-r--r--demos/ARMCM3-STM32F103-FATFS/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/ARMCM3-STM32F103-FATFS/main.c b/demos/ARMCM3-STM32F103-FATFS/main.c
index 57fc5d2b3..ce5026a95 100644
--- a/demos/ARMCM3-STM32F103-FATFS/main.c
+++ b/demos/ARMCM3-STM32F103-FATFS/main.c
@@ -382,7 +382,7 @@ int main(void) {
chThdRelease(shelltp); /* Recovers memory of the previous shell. */
shelltp = NULL; /* Triggers spawning of a new shell. */
}
- chEvtDispatch(evhndl, chEvtWaitOne(ALL_EVENTS));
+ chEvtDispatch(evhndl, chEvtWaitOneTimeout(ALL_EVENTS, MS2ST(500)));
}
return 0;
}