git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1417 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2009-12-11 16:15:54 +00:00
parent b3dc7043a0
commit 0f8d30486b
1 changed files with 2 additions and 0 deletions

View File

@ -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);