From 1422b47cc4e0a979ff02e9d8fb1bb0005f0ebbb9 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 12 Mar 2008 11:24:24 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@225 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/chmsg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/chmsg.c') 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; -- cgit v1.2.3