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

master
gdisirio 2012-09-08 13:35:46 +00:00
parent a8bb5137c0
commit 75c87385f2
1 changed files with 2 additions and 2 deletions

View File

@ -313,8 +313,8 @@ int main(void) {
shelltp = shellCreate(&shell_cfg1, SHELL_WA_SIZE, NORMALPRIO); shelltp = shellCreate(&shell_cfg1, SHELL_WA_SIZE, NORMALPRIO);
} }
} }
else{ else {
/* If the previous shell has been exited.*/ /* If the previous shell exited.*/
if (chThdTerminated(shelltp)) { if (chThdTerminated(shelltp)) {
/* Recovers memory of the previous shell.*/ /* Recovers memory of the previous shell.*/
chThdRelease(shelltp); chThdRelease(shelltp);