mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/gp2y10xx: Update kconfig model
This commit is contained in:
parent
ff1ac6b286
commit
1d05b3f727
@ -14,6 +14,12 @@ config MODULE_GP2Y10XX
|
|||||||
select MODULE_PERIPH_ADC
|
select MODULE_PERIPH_ADC
|
||||||
select MODULE_XTIMER
|
select MODULE_XTIMER
|
||||||
|
|
||||||
|
config HAVE_GP2Y10XX
|
||||||
|
bool
|
||||||
|
select MODULE_GP2Y10XX if MODULE_SAUL_DEFAULT
|
||||||
|
help
|
||||||
|
Indicates that a GP2Y10xx Optical Dust Sensor is present.
|
||||||
|
|
||||||
menuconfig KCONFIG_USEMODULE_GP2Y10XX
|
menuconfig KCONFIG_USEMODULE_GP2Y10XX
|
||||||
bool "Configure GP2Y10xx driver"
|
bool "Configure GP2Y10xx driver"
|
||||||
depends on USEMODULE_GP2Y10XX
|
depends on USEMODULE_GP2Y10XX
|
||||||
|
Loading…
Reference in New Issue
Block a user