diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-03-12 11:24:24 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-03-12 11:24:24 +0000 |
commit | 1422b47cc4e0a979ff02e9d8fb1bb0005f0ebbb9 (patch) | |
tree | 6038803fa0fb48739a9ade81d45f5d774a1b9931 /src/chthreads.c | |
parent | 7500baf6cd6457ce77b5a474031f35bd5b30fb6a (diff) | |
download | ChibiOS-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.c | 2 |
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);
|