drivers: lis2dh: Add names to choices in Kconfig
Unless a choice is named, its default value cannot be changed in another Kconfig file. Signed-off-by: Pavel Hübner <pavel.hubner@hardwario.com>
This commit is contained in:
parent
8e5eb1732d
commit
7504265e47
1 changed files with 3 additions and 3 deletions
|
@ -49,7 +49,7 @@ config LIS2DH_THREAD_STACK_SIZE
|
||||||
help
|
help
|
||||||
Stack size of thread used by the driver to handle interrupts.
|
Stack size of thread used by the driver to handle interrupts.
|
||||||
|
|
||||||
choice
|
choice LIS2DH_ACCEL_RANGE
|
||||||
prompt "Acceleration measurement range"
|
prompt "Acceleration measurement range"
|
||||||
default LIS2DH_ACCEL_RANGE_RUNTIME
|
default LIS2DH_ACCEL_RANGE_RUNTIME
|
||||||
help
|
help
|
||||||
|
@ -72,7 +72,7 @@ config LIS2DH_ACCEL_RANGE_16G
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
choice
|
choice LIS2DH_OPER_MODE
|
||||||
prompt "Operation mode"
|
prompt "Operation mode"
|
||||||
default LIS2DH_OPER_MODE_NORMAL
|
default LIS2DH_OPER_MODE_NORMAL
|
||||||
help
|
help
|
||||||
|
@ -90,7 +90,7 @@ config LIS2DH_OPER_MODE_LOW_POWER
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
choice
|
choice LIS2DH_ODR
|
||||||
prompt "Output data rate frequency"
|
prompt "Output data rate frequency"
|
||||||
default LIS2DH_ODR_RUNTIME
|
default LIS2DH_ODR_RUNTIME
|
||||||
help
|
help
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue