From f3dd088a99420c7592e17465b9221c1ef3634aed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20H=C3=BCbner?= Date: Sun, 10 Oct 2021 19:00:49 +0200 Subject: [PATCH] drivers: sht3xd: Add names to choices in Kconfig MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unless a choice is named, its default value cannot be changed in another Kconfig file. Signed-off-by: Pavel Hübner --- drivers/sensor/sht3xd/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/sensor/sht3xd/Kconfig b/drivers/sensor/sht3xd/Kconfig index 7b7f1b44e0f..02853cc7658 100644 --- a/drivers/sensor/sht3xd/Kconfig +++ b/drivers/sensor/sht3xd/Kconfig @@ -11,7 +11,7 @@ menuconfig SHT3XD if SHT3XD -choice +choice SHT3XD_TRIGGER_MODE prompt "Trigger mode" default SHT3XD_TRIGGER_NONE help @@ -49,7 +49,7 @@ config SHT3XD_THREAD_STACK_SIZE help Stack size of thread used by the driver to handle interrupts. -choice +choice SHT3XD_REPEATABILITY prompt "Measurement repeatability" default SHT3XD_REPEATABILITY_HIGH help @@ -67,7 +67,7 @@ config SHT3XD_REPEATABILITY_HIGH endchoice -choice +choice SHT3XD_MEASUREMENT_MODE prompt "Measurement mode" default SHT3XD_PERIODIC_MODE @@ -79,7 +79,7 @@ config SHT3XD_PERIODIC_MODE endchoice -choice +choice SHT3XD_MPS prompt "Measurements per second" default SHT3XD_MPS_1 depends on SHT3XD_PERIODIC_MODE