diff options
Diffstat (limited to 'src/chmsg.c')
-rw-r--r-- | src/chmsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
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();
|