Fixed wrong condition in sbIsThreadRunningX().
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15355 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
6047661c76
commit
277d9540a3
|
@ -203,7 +203,7 @@ bool sbIsThreadRunningX(sb_class_t *sbcp) {
|
|||
return false;
|
||||
}
|
||||
|
||||
return chThdTerminatedX(sbcp->tp);
|
||||
return !chThdTerminatedX(sbcp->tp);
|
||||
}
|
||||
|
||||
#if (CH_CFG_USE_WAITEXIT == TRUE) || defined(__DOXYGEN__)
|
||||
|
|
Loading…
Reference in New Issue