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
|
@ -49,7 +49,7 @@ config LIS2DH_THREAD_STACK_SIZE
|
|||
help
|
||||
Stack size of thread used by the driver to handle interrupts.
|
||||
|
||||
choice
|
||||
choice LIS2DH_ACCEL_RANGE
|
||||
prompt "Acceleration measurement range"
|
||||
default LIS2DH_ACCEL_RANGE_RUNTIME
|
||||
help
|
||||
|
@ -72,7 +72,7 @@ config LIS2DH_ACCEL_RANGE_16G
|
|||
|
||||
endchoice
|
||||
|
||||
choice
|
||||
choice LIS2DH_OPER_MODE
|
||||
prompt "Operation mode"
|
||||
default LIS2DH_OPER_MODE_NORMAL
|
||||
help
|
||||
|
@ -90,7 +90,7 @@ config LIS2DH_OPER_MODE_LOW_POWER
|
|||
|
||||
endchoice
|
||||
|
||||
choice
|
||||
choice LIS2DH_ODR
|
||||
prompt "Output data rate frequency"
|
||||
default LIS2DH_ODR_RUNTIME
|
||||
help
|
||||
|
|
Loading…
Reference in a new issue