1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

driver/isl29020: Allow SAUL_DEFAULT in kconfig

This commit is contained in:
MrKevinWeiss 2021-12-10 13:56:25 +01:00
parent 9361c9898c
commit b1bb309566
No known key found for this signature in database
GPG Key ID: 3514539D7808D123

View File

@ -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