drivers: use K_THREAD_STACK_DEFINE macros
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
15ed8ec7ea
commit
2d4a36fc1c
27 changed files with 38 additions and 30 deletions
|
@ -163,7 +163,7 @@ static void bmg160_handle_int(void *arg)
|
|||
}
|
||||
|
||||
#ifdef CONFIG_BMG160_TRIGGER_OWN_THREAD
|
||||
static char __stack bmg160_thread_stack[CONFIG_BMG160_THREAD_STACK_SIZE];
|
||||
static K_THREAD_STACK_DEFINE(bmg160_thread_stack, CONFIG_BMG160_THREAD_STACK_SIZE);
|
||||
static struct k_thread bmg160_thread;
|
||||
|
||||
static void bmg160_thread_main(void *arg1, void *arg2, void *arg3)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue