tests: thread_init: fix style
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
115ce02a3d
commit
b593d35762
2 changed files with 18 additions and 16 deletions
|
@ -146,6 +146,7 @@ void test_kinit_preempt_thread(void)
|
|||
INIT_PREEMPT_STACK_SIZE, thread_entry, INIT_PREEMPT_P1,
|
||||
INIT_PREEMPT_P2, INIT_PREEMPT_P3, INIT_PREEMPT_PRIO,
|
||||
INIT_PREEMPT_OPTION, INIT_PREEMPT_DELAY);
|
||||
|
||||
/*record time stamp of thread creation*/
|
||||
t_create = k_uptime_get();
|
||||
zassert_not_null(pthread, "thread creation failed\n");
|
||||
|
@ -175,6 +176,7 @@ void test_kinit_coop_thread(void)
|
|||
INIT_COOP_STACK_SIZE, thread_entry, INIT_COOP_P1,
|
||||
INIT_COOP_P2, INIT_COOP_P3, INIT_COOP_PRIO,
|
||||
INIT_COOP_OPTION, INIT_COOP_DELAY);
|
||||
|
||||
/*record time stamp of thread creation*/
|
||||
t_create = k_uptime_get();
|
||||
zassert_not_null(pthread, "thread spawn failed\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue