diff options
-rw-r--r-- | os/kernel/src/chschd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/os/kernel/src/chschd.c b/os/kernel/src/chschd.c index 6f28d04bb..a7864bc71 100644 --- a/os/kernel/src/chschd.c +++ b/os/kernel/src/chschd.c @@ -74,6 +74,8 @@ void _scheduler_init(void) { Thread *chSchReadyI(Thread *tp) {
Thread *cp;
+ chDbgCheckClassI();
+
/* Integrity checks.*/
chDbgAssert((tp->p_state != THD_STATE_READY) &&
(tp->p_state != THD_STATE_FINAL),
|