We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e81726 commit 1373957Copy full SHA for 1373957
sched/sched/sched_addreadytorun.c
@@ -261,7 +261,7 @@ bool nxsched_add_readytorun(FAR struct tcb_s *btcb)
261
/* Change "head" from TSTATE_TASK_RUNNING to TSTATE_TASK_ASSIGNED */
262
263
headtcb = (FAR struct tcb_s *)tasklist->head;
264
- DEBUGASSERT(headtcb->task_state = TSTATE_TASK_RUNNING);
+ DEBUGASSERT(headtcb->task_state == TSTATE_TASK_RUNNING);
265
headtcb->task_state = TSTATE_TASK_ASSIGNED;
266
267
/* Add btcb to the head of the g_assignedtasks
0 commit comments