mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
sched: fix nxsched_suspend_scheduler regression
This commit fixes the regression from https://github.com/apache/nuttx/pull/13877 Signed-off-by: hujun5 <hujun5@xiaomi.com>
This commit is contained in:
@@ -63,7 +63,7 @@ void nxsched_suspend_scheduler(FAR struct tcb_s *tcb)
|
|||||||
{
|
{
|
||||||
/* Handle the task exiting case */
|
/* Handle the task exiting case */
|
||||||
|
|
||||||
if (tcb != NULL)
|
if (tcb == NULL)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user