From 70c86d43ec79032c7172507fc12bf7d78d44a3de Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 15 Oct 2007 14:52:56 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@53 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 4140e3165..010da86e5 100644 --- a/src/chmsg.c +++ b/src/chmsg.c @@ -115,7 +115,7 @@ t_msg chMsgSendTimeout(Thread *tp, t_msg msg, t_time time) { currp->p_msg = msg; chSchGoSleepS(PRSNDMSG); msg = currp->p_rdymsg; - if (vt.vt_func) + if (chVTIsArmedI(&vt)) chVTResetI(&vt); chSysUnlock(); -- cgit v1.2.3