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:
Seth Milliken 2026-01-28 17:30:18 -08:00
parent 354cff9c36
commit a190920216
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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)