From 1aad9e4509193ea3726a2d021beb2421adca0a93 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 28 Feb 2010 13:26:02 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1691 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/src/chcond.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/kernel') diff --git a/os/kernel/src/chcond.c b/os/kernel/src/chcond.c index 372b9b2f1..a78ff4ec5 100644 --- a/os/kernel/src/chcond.c +++ b/os/kernel/src/chcond.c @@ -218,8 +218,8 @@ msg_t chCondWaitTimeoutS(CondVar *cp, systime_t time) { mp = chMtxUnlockS(); ctp->p_u.wtobjp = cp; prio_insert(ctp, &cp->c_queue); - chSchGoSleepTimeoutS(THD_STATE_WTCOND, time); - msg = ctp->p_u.rdymsg; + msg = chSchGoSleepTimeoutS(THD_STATE_WTCOND, time); +// msg = ctp->p_u.rdymsg; chMtxLockS(mp); return msg; } -- cgit v1.2.3