mirror of https://github.com/zmkfirmware/zmk.git
fix: replace removed `K_THREAD_STACK_MEMBER` with `K_KERNEL_STACK_MEMBER`
c.f. https://docs.zephyrproject.org/latest/releases/release-notes-4.0.html#removed-apis-in-this-release
This commit is contained in:
parent
354cff9c36
commit
a190920216
|
|
@ -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…
Reference in New Issue