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:
parent
9361c9898c
commit
b1bb309566
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user