Skip to content

Commit

Permalink
fix typo error
Browse files Browse the repository at this point in the history
Change-Id: Idd51c82c56f41e4f62bf691b5a7172d00f5063b9
  • Loading branch information
hujun260 committed Oct 11, 2024
1 parent 670c4d9 commit 0446804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sched/sched/sched_addreadytorun.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ bool nxsched_add_readytorun(FAR struct tcb_s *btcb)
/* Change "head" from TSTATE_TASK_RUNNING to TSTATE_TASK_ASSIGNED */

headtcb = (FAR struct tcb_s *)tasklist->head;
DEBUGASSERT(headtcb->task_state = TSTATE_TASK_RUNNING);
DEBUGASSERT(headtcb->task_state == TSTATE_TASK_RUNNING);
headtcb->task_state = TSTATE_TASK_ASSIGNED;

/* Add btcb to the head of the g_assignedtasks
Expand Down

0 comments on commit 0446804

Please sign in to comment.