git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4637 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
a8bb5137c0
commit
75c87385f2
|
@ -313,8 +313,8 @@ int main(void) {
|
|||
shelltp = shellCreate(&shell_cfg1, SHELL_WA_SIZE, NORMALPRIO);
|
||||
}
|
||||
}
|
||||
else{
|
||||
/* If the previous shell has been exited.*/
|
||||
else {
|
||||
/* If the previous shell exited.*/
|
||||
if (chThdTerminated(shelltp)) {
|
||||
/* Recovers memory of the previous shell.*/
|
||||
chThdRelease(shelltp);
|
||||
|
|
Loading…
Reference in New Issue