From b1bb3095661e77b1c8459fd9194cda5eaf16d579 Mon Sep 17 00:00:00 2001 From: MrKevinWeiss Date: Fri, 10 Dec 2021 13:56:25 +0100 Subject: [PATCH] driver/isl29020: Allow SAUL_DEFAULT in kconfig --- drivers/isl29020/Kconfig | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/isl29020/Kconfig b/drivers/isl29020/Kconfig index 5d7043e7e0..8f38236d73 100644 --- a/drivers/isl29020/Kconfig +++ b/drivers/isl29020/Kconfig @@ -7,11 +7,18 @@ # config MODULE_ISL29020 - bool "ISL29020 light sensor" + bool + prompt "ISL29020 light sensor" if !(MODULE_SAUL_DEFAULT && HAVE_ISL29020) + default y if (MODULE_SAUL_DEFAULT && HAVE_ISL29020) depends on HAS_PERIPH_I2C depends on TEST_KCONFIG select MODULE_PERIPH_I2C +config HAVE_ISL29020 + bool + help + Indicates that a isl29020 sensor is present. + menuconfig KCONFIG_USEMODULE_ISL29020 bool "Configure ISL29020 driver" depends on USEMODULE_ISL29020