Skip to content

Commit

Permalink
sched: fix nxsched_suspend_scheduler regression
Browse files Browse the repository at this point in the history
This commit fixes the regression from apache#13877

Signed-off-by: hujun5 <[email protected]>
  • Loading branch information
hujun260 committed Oct 12, 2024
1 parent 2c50914 commit 80d5f4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sched/sched/sched_suspendscheduler.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void nxsched_suspend_scheduler(FAR struct tcb_s *tcb)
{
/* Handle the task exiting case */

if (tcb != NULL)
if (tcb == NULL)
{
return;
}
Expand Down

0 comments on commit 80d5f4f

Please sign in to comment.