diff --git a/os/rt/src/chmtx.c b/os/rt/src/chmtx.c index 3243f6eee..deffb397d 100644 --- a/os/rt/src/chmtx.c +++ b/os/rt/src/chmtx.c @@ -202,7 +202,7 @@ void chMtxLockS(mutex_t *mp) { (void) chSchReadyI(queue_dequeue(tp)); break; default: - chDbgAssert(false, "unexpected state"); + /* Nothing to do for other states.*/ break; } break;