coccinelle: standardize k_thread create/define calls with integer timeouts
Re-run with updated script to convert integer literal delay arguments to k_thread_create and K_THREAD_DEFINE to use the standard timeout macros. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
This commit is contained in:
parent
03c22b8c94
commit
e28f330a8e
86 changed files with 201 additions and 180 deletions
|
@ -283,7 +283,8 @@ static int run_test(struct unit_test *test)
|
|||
K_THREAD_STACK_SIZEOF(ztest_thread_stack),
|
||||
(k_thread_entry_t) test_cb, (struct unit_test *)test,
|
||||
NULL, NULL, CONFIG_ZTEST_THREAD_PRIORITY,
|
||||
test->thread_options | K_INHERIT_PERMS, 0);
|
||||
test->thread_options | K_INHERIT_PERMS,
|
||||
K_NO_WAIT);
|
||||
/*
|
||||
* There is an implicit expectation here that the thread that was
|
||||
* spawned is still higher priority than the current thread.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue