aboutsummaryrefslogtreecommitdiffstats
path: root/os/various
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-10-23 12:21:44 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-10-23 12:21:44 +0000
commit2f572f109a463e7faa46ed544c91198e72e63343 (patch)
tree357162e59b91596a8441d9cd6a48f07458a95771 /os/various
parent53df7ed814f665ebeef75b379941f9c0cebcba55 (diff)
downloadChibiOS-2f572f109a463e7faa46ed544c91198e72e63343.tar.gz
ChibiOS-2f572f109a463e7faa46ed544c91198e72e63343.tar.bz2
ChibiOS-2f572f109a463e7faa46ed544c91198e72e63343.zip
USB enhancements, phase two.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3451 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/various')
-rw-r--r--os/various/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/various/shell.c b/os/various/shell.c
index a99f2657c..4c84a7b51 100644
--- a/os/various/shell.c
+++ b/os/various/shell.c
@@ -204,7 +204,7 @@ static msg_t shell_thread(void *p) {
there is not a chSysUnlock() because the thread terminates upon return.*/
chSysLock();
chEvtBroadcastI(&shell_terminated);
- return msg;
+ chThdExitS(msg);
}
/**