fix: replace removed K_THREAD_STACK_MEMBER with K_KERNEL_STACK_MEMBER (#3218)
c.f. https://docs.zephyrproject.org/latest/releases/release-notes-4.0.html#removed-apis-in-this-release
This commit is contained in:
parent
536375e45e
commit
f6c629e895
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ struct ec11_data {
|
|||
const struct sensor_trigger *trigger;
|
||||
|
||||
#if defined(CONFIG_EC11_TRIGGER_OWN_THREAD)
|
||||
K_THREAD_STACK_MEMBER(thread_stack, CONFIG_EC11_THREAD_STACK_SIZE);
|
||||
K_KERNEL_STACK_MEMBER(thread_stack, CONFIG_EC11_THREAD_STACK_SIZE);
|
||||
struct k_sem gpio_sem;
|
||||
struct k_thread thread;
|
||||
#elif defined(CONFIG_EC11_TRIGGER_GLOBAL_THREAD)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue