mirror of
https://github.com/apache/nuttx.git
synced 2026-10-14 01:30:14 +00: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:
parent
35df528f69
commit
d0c09771db
2 changed files with 2 additions and 2 deletions
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…
Add table
Add a link
Reference in a new issue