diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-11 16:15:54 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-11 16:15:54 +0000 |
commit | 0f8d30486bffb71cd431e67084fcc502411236b9 (patch) | |
tree | 82a9da358488a863b6104b355adfd88ef724a2d6 | |
parent | b3dc7043a082c8838a2cee518a7113a2268a5770 (diff) | |
download | ChibiOS-0f8d30486bffb71cd431e67084fcc502411236b9.tar.gz ChibiOS-0f8d30486bffb71cd431e67084fcc502411236b9.tar.bz2 ChibiOS-0f8d30486bffb71cd431e67084fcc502411236b9.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1417 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | demos/Win32-MinGW/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/Win32-MinGW/main.c b/demos/Win32-MinGW/main.c index 140f3bd79..01ca7cad9 100644 --- a/demos/Win32-MinGW/main.c +++ b/demos/Win32-MinGW/main.c @@ -91,6 +91,7 @@ static void termination_handler(eventid_t id) { if (shelltp1 && chThdTerminated(shelltp1)) {
chThdWait(shelltp1);
shelltp1 = NULL;
+ chThdSleepMilliseconds(10);
cprint("Init: shell on SD1 terminated\n");
chSysLock();
chOQResetI(&SD1.d2.oqueue);
@@ -99,6 +100,7 @@ static void termination_handler(eventid_t id) { if (shelltp2 && chThdTerminated(shelltp2)) {
chThdWait(shelltp2);
shelltp2 = NULL;
+ chThdSleepMilliseconds(10);
cprint("Init: shell on SD2 terminated\n");
chSysLock();
chOQResetI(&SD2.d2.oqueue);
|