Skip to content

Commit 1373957

Browse files
hujun260xiaoxiang781216
authored andcommitted
fix typo error
Signed-off-by: hujun5 <[email protected]>
1 parent 5e81726 commit 1373957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sched/sched/sched_addreadytorun.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ bool nxsched_add_readytorun(FAR struct tcb_s *btcb)
261261
/* Change "head" from TSTATE_TASK_RUNNING to TSTATE_TASK_ASSIGNED */
262262

263263
headtcb = (FAR struct tcb_s *)tasklist->head;
264-
DEBUGASSERT(headtcb->task_state = TSTATE_TASK_RUNNING);
264+
DEBUGASSERT(headtcb->task_state == TSTATE_TASK_RUNNING);
265265
headtcb->task_state = TSTATE_TASK_ASSIGNED;
266266

267267
/* Add btcb to the head of the g_assignedtasks

0 commit comments

Comments
 (0)