mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/isl29020: Update kconfig model
This commit is contained in:
parent
1dbf5836da
commit
d5336efb41
@ -7,15 +7,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
config MODULE_ISL29020
|
config MODULE_ISL29020
|
||||||
bool
|
bool "ISL29020 light sensor"
|
||||||
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 HAS_PERIPH_I2C
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
select MODULE_PERIPH_I2C
|
select MODULE_PERIPH_I2C
|
||||||
|
|
||||||
config HAVE_ISL29020
|
config HAVE_ISL29020
|
||||||
bool
|
bool
|
||||||
|
select MODULE_ISL29020 if MODULE_SAUL_DEFAULT
|
||||||
help
|
help
|
||||||
Indicates that a isl29020 sensor is present.
|
Indicates that a isl29020 sensor is present.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user