aboutsummaryrefslogtreecommitdiffstats
path: root/src/chthreads.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-03-12 11:24:24 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-03-12 11:24:24 +0000
commit1422b47cc4e0a979ff02e9d8fb1bb0005f0ebbb9 (patch)
tree6038803fa0fb48739a9ade81d45f5d774a1b9931 /src/chthreads.c
parent7500baf6cd6457ce77b5a474031f35bd5b30fb6a (diff)
downloadChibiOS-1422b47cc4e0a979ff02e9d8fb1bb0005f0ebbb9.tar.gz
ChibiOS-1422b47cc4e0a979ff02e9d8fb1bb0005f0ebbb9.tar.bz2
ChibiOS-1422b47cc4e0a979ff02e9d8fb1bb0005f0ebbb9.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@225 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chthreads.c')
-rw-r--r--src/chthreads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chthreads.c b/src/chthreads.c
index 1dcda4597..9944bedb0 100644
--- a/src/chthreads.c
+++ b/src/chthreads.c
@@ -218,7 +218,7 @@ void chThdExit(msg_t msg) {
currp->p_exitcode = msg;
#ifdef CH_USE_WAITEXIT
while (notempty(&currp->p_waiting))
- chSchReadyI(list_remove(&currp->p_waiting), RDY_OK);
+ chSchReadyI(list_remove(&currp->p_waiting));
#endif
#ifdef CH_USE_EXIT_EVENT
chEvtSendI(&currp->p_exitesource);