git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4280 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2012-06-16 15:07:15 +00:00
parent afb00cd4eb
commit 456a8cbd82
1 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,8 @@ void _scheduler_init(void) {
Thread *chSchReadyI(Thread *tp) { Thread *chSchReadyI(Thread *tp) {
Thread *cp; Thread *cp;
chDbgCheckClassI();
/* Integrity checks.*/ /* Integrity checks.*/
chDbgAssert((tp->p_state != THD_STATE_READY) && chDbgAssert((tp->p_state != THD_STATE_READY) &&
(tp->p_state != THD_STATE_FINAL), (tp->p_state != THD_STATE_FINAL),