Skip to content

Commit

Permalink
tests: kernel: pending: replace to-be-deprecated k_work API use
Browse files Browse the repository at this point in the history
The new standard API has a different name with an additional parameter.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
  • Loading branch information
pabigot authored and nashif committed Apr 22, 2021
1 parent 8717654 commit 2cff32b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/kernel/pending/src/main.c
Expand Up @@ -248,10 +248,10 @@ void task_high(void)
k_sem_init(&sync_test_sem, 0, UINT_MAX);
k_sem_init(&end_test_sem, 0, UINT_MAX);

k_work_q_start(&offload_work_q,
k_work_queue_start(&offload_work_q,
offload_work_q_stack,
K_THREAD_STACK_SIZEOF(offload_work_q_stack),
OFFLOAD_WORKQUEUE_PRIORITY);
OFFLOAD_WORKQUEUE_PRIORITY, NULL);

counter = SEM_TEST_START;

Expand Down

0 comments on commit 2cff32b

Please sign in to comment.