drivers: sht3xd: 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
a717820f74
commit
f3dd088a99
1 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@ menuconfig SHT3XD
|
||||||
|
|
||||||
if SHT3XD
|
if SHT3XD
|
||||||
|
|
||||||
choice
|
choice SHT3XD_TRIGGER_MODE
|
||||||
prompt "Trigger mode"
|
prompt "Trigger mode"
|
||||||
default SHT3XD_TRIGGER_NONE
|
default SHT3XD_TRIGGER_NONE
|
||||||
help
|
help
|
||||||
|
@ -49,7 +49,7 @@ config SHT3XD_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 SHT3XD_REPEATABILITY
|
||||||
prompt "Measurement repeatability"
|
prompt "Measurement repeatability"
|
||||||
default SHT3XD_REPEATABILITY_HIGH
|
default SHT3XD_REPEATABILITY_HIGH
|
||||||
help
|
help
|
||||||
|
@ -67,7 +67,7 @@ config SHT3XD_REPEATABILITY_HIGH
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
choice
|
choice SHT3XD_MEASUREMENT_MODE
|
||||||
prompt "Measurement mode"
|
prompt "Measurement mode"
|
||||||
default SHT3XD_PERIODIC_MODE
|
default SHT3XD_PERIODIC_MODE
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ config SHT3XD_PERIODIC_MODE
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
choice
|
choice SHT3XD_MPS
|
||||||
prompt "Measurements per second"
|
prompt "Measurements per second"
|
||||||
default SHT3XD_MPS_1
|
default SHT3XD_MPS_1
|
||||||
depends on SHT3XD_PERIODIC_MODE
|
depends on SHT3XD_PERIODIC_MODE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue