aboutsummaryrefslogtreecommitdiffstats
path: root/src/chmsg.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/chmsg.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/chmsg.c')
-rw-r--r--src/chmsg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chmsg.c b/src/chmsg.c
index ae90c8264..8c6fa779f 100644
--- a/src/chmsg.c
+++ b/src/chmsg.c
@@ -47,7 +47,7 @@ msg_t chMsgSend(Thread *tp, msg_t msg) {
currp->p_msg = msg;
currp->p_wtthdp = tp;
if (tp->p_state == PRWTMSG)
- chSchReadyI(tp, RDY_OK);
+ chSchReadyI(tp);
chSchGoSleepS(PRSNDMSG);
msg = currp->p_rdymsg;