kernel: Use NULL instead of 0
MISRA-C rule 11.9 Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
aabd8e7fa0
commit
4f6020111c
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ void k_work_q_start(struct k_work_q *work_q, k_thread_stack_t *stack,
|
||||||
{
|
{
|
||||||
k_queue_init(&work_q->queue);
|
k_queue_init(&work_q->queue);
|
||||||
(void)k_thread_create(&work_q->thread, stack, stack_size, z_work_q_main,
|
(void)k_thread_create(&work_q->thread, stack, stack_size, z_work_q_main,
|
||||||
work_q, 0, 0, prio, 0, 0);
|
work_q, NULL, NULL, prio, 0, 0);
|
||||||
|
|
||||||
k_thread_name_set(&work_q->thread, WORKQUEUE_THREAD_NAME);
|
k_thread_name_set(&work_q->thread, WORKQUEUE_THREAD_NAME);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue