drivers: use K_KERNEL_STACK macros
None of these threads run in user mode and we can save some memory. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
37aca482e9
commit
7d920ba39b
78 changed files with 105 additions and 105 deletions
|
@ -180,7 +180,7 @@ static void bmg160_handle_int(void *arg)
|
|||
}
|
||||
|
||||
#ifdef CONFIG_BMG160_TRIGGER_OWN_THREAD
|
||||
static K_THREAD_STACK_DEFINE(bmg160_thread_stack, CONFIG_BMG160_THREAD_STACK_SIZE);
|
||||
static K_KERNEL_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