mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
sched: Recent change of ASSERT to DEBUGASSERT causes a crash when debug is diabled because there is a critical function call within the assertion
This commit is contained in:
+1
-1
Submodule configs updated: 3ffa424853...521652bd7f
@@ -185,7 +185,7 @@ static void sched_readytorun_setpriority(FAR struct tcb_s *tcb,
|
|||||||
|
|
||||||
/* Put it back into the correct ready-to-run task list */
|
/* Put it back into the correct ready-to-run task list */
|
||||||
|
|
||||||
DEBUGASSERT(!sched_addreadytorun(tcb));
|
ASSERT(!sched_addreadytorun(tcb));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user