Skip to content

Commit

Permalink
dp: start DP tick fixup
Browse files Browse the repository at this point in the history
This is fixup for 9f6c3dc

Incorrect list pointer has been used

Signed-off-by: Marcin Szkudlinski <[email protected]>
  • Loading branch information
marcinszkudlinski committed Oct 11, 2023
1 parent 866625c commit 7001956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schedule/zephyr_dp_schedule.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ static int scheduler_dp_task_shedule(void *data, struct task *task, uint64_t sta
}

/* if there's no DP tasks scheduled yet, run ll tick source task */
if (list_is_empty(&task->list))
if (list_is_empty(&dp_sch->tasks))
schedule_task(&dp_sch->ll_tick_src, 0, 0);

/* add a task to DP scheduler list */
Expand Down

0 comments on commit 7001956

Please sign in to comment.