diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-08 13:35:46 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-08 13:35:46 +0000 |
commit | 75c87385f29c9dd236af15ac26cada932e018f34 (patch) | |
tree | eef5f9e41d098324a66e2faf2ab96081b00ee7d8 /demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c | |
parent | a8bb5137c0925b5c01564db192a0377519742b05 (diff) | |
download | ChibiOS-75c87385f29c9dd236af15ac26cada932e018f34.tar.gz ChibiOS-75c87385f29c9dd236af15ac26cada932e018f34.tar.bz2 ChibiOS-75c87385f29c9dd236af15ac26cada932e018f34.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4637 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c')
-rw-r--r-- | demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c b/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c index 7940e3a0a..d125bf28a 100644 --- a/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c +++ b/demos/ARMCM4-STM32F407-DISCOVERY-MEMS/main.c @@ -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);
|