• R/O
  • SSH
  • HTTPS

chibios: Commit


Commit MetaInfo

Revision15355 (tree)
Time2022-01-13 23:49:25
Authorgdisirio

Log Message

Fixed wrong condition in sbIsThreadRunningX().

Change Summary

Incremental Difference

--- trunk/os/sb/host/sbhost.c (revision 15354)
+++ trunk/os/sb/host/sbhost.c (revision 15355)
@@ -203,7 +203,7 @@
203203 return false;
204204 }
205205
206- return chThdTerminatedX(sbcp->tp);
206+ return !chThdTerminatedX(sbcp->tp);
207207 }
208208
209209 #if (CH_CFG_USE_WAITEXIT == TRUE) || defined(__DOXYGEN__)
Show on old repository browser