diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-16 15:07:15 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-16 15:07:15 +0000 |
commit | 456a8cbd82f200dda163e7997d60fe4a92c5841e (patch) | |
tree | c3bacb99e7df76ee49910250594854096e2d39a7 /os/kernel/src/chschd.c | |
parent | afb00cd4ebb2dfa8ba4bff6391e5afd6f36ea356 (diff) | |
download | ChibiOS-456a8cbd82f200dda163e7997d60fe4a92c5841e.tar.gz ChibiOS-456a8cbd82f200dda163e7997d60fe4a92c5841e.tar.bz2 ChibiOS-456a8cbd82f200dda163e7997d60fe4a92c5841e.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4280 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/src/chschd.c')
-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),
|