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:
parent
35df528f69
commit
d0c09771db
2
configs
2
configs
@ -1 +1 @@
|
||||
Subproject commit 3ffa42485392801e69a4a17e1dab42b6174a9332
|
||||
Subproject commit 521652bd7fcedc8c92e928fccb8c493f30456b59
|
@ -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 */
|
||||
|
||||
DEBUGASSERT(!sched_addreadytorun(tcb));
|
||||
ASSERT(!sched_addreadytorun(tcb));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user