diff --git a/os/rt/include/chsys.h b/os/rt/include/chsys.h index 8edf8773c..7bf93e7bf 100644 --- a/os/rt/include/chsys.h +++ b/os/rt/include/chsys.h @@ -368,7 +368,7 @@ static inline void chSysUnlock(void) { _stats_stop_measure_crit_thd(); /* The following condition can be triggered by the use of i-class functions - in a critical section not followed by a chSchResceduleS(), this means + in a critical section not followed by a chSchRescheduleS(), this means that the current thread has a lower priority than the next thread in the ready list.*/ chDbgAssert((ch.rlist.queue.next == (thread_t *)&ch.rlist.queue) ||