mirror of
https://github.com/apache/nuttx.git
synced 2026-08-17 18:28:25 +00:00
SMP: fix assert failed when one task set to 255
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
4fc76ea661
commit
615bc9f0e2
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ int nxsched_select_cpu(cpu_set_t affinity)
|
|||
DEBUGASSERT(rtcb->sched_priority == 0);
|
||||
return i;
|
||||
}
|
||||
else if (rtcb->sched_priority < minprio)
|
||||
else if (rtcb->sched_priority <= minprio)
|
||||
{
|
||||
DEBUGASSERT(rtcb->sched_priority > 0);
|
||||
minprio = rtcb->sched_priority;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue