drivers: sensor: icm42605: fix default kconfig issues

by default, a global trigger thread was enabled in kconfig but
the thread priority and stack size depended on a local thread
being enabled.

the local thread option was never used anywhere so it is removed.

Signed-off-by: Mikkel Jakobsen <mikkel.aunsbjerg@escolifesciences.com>
This commit is contained in:
Mikkel Jakobsen 2022-01-20 14:57:09 +01:00 committed by Maureen Helm
commit da514737d0

View file

@ -25,12 +25,6 @@ config ICM42605_TRIGGER_GLOBAL_THREAD
depends on GPIO
select ICM42605_TRIGGER
config ICM42605_TRIGGER_OWN_THREAD
bool "Use own thread"
depends on GPIO
select ICM42605_TRIGGER
endchoice
config ICM42605_TRIGGER
@ -38,14 +32,14 @@ config ICM42605_TRIGGER
config ICM42605_THREAD_PRIORITY
int "Thread priority"
depends on ICM42605_TRIGGER_OWN_THREAD
depends on ICM42605_TRIGGER_GLOBAL_THREAD
default 10
help
Priority of thread used by the driver to handle interrupts.
config ICM42605_THREAD_STACK_SIZE
int "Thread stack size"
depends on ICM42605_TRIGGER_OWN_THREAD
depends on ICM42605_TRIGGER_GLOBAL_THREAD
default 1024
help
Stack size of thread used by the driver to handle interrupts.