samples: ipm_mailbox: fix thread creation
We have been starting the same thread twice. Introduced when we moved from k_thread_spawn. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
fc14bfbe2f
commit
07c0d3d0f0
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ void main(void)
|
|||
main_thread, 0, 0, 0,
|
||||
K_PRIO_COOP(MAIN_FIBER_PRI), 0, 0);
|
||||
|
||||
k_thread_create(&threads[0], &thread_stacks[1][0], STACKSIZE,
|
||||
k_thread_create(&threads[1], &thread_stacks[1][0], STACKSIZE,
|
||||
ping_source_thread, 0, 0, 0,
|
||||
K_PRIO_COOP(PING_FIBER_PRI), 0, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue