mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/sm_pwm_01c: Update kconfig model
This commit is contained in:
parent
1ace3f0d35
commit
fe25c7a699
@ -5,7 +5,9 @@
|
||||
# directory for more details.
|
||||
#
|
||||
menuconfig MODULE_SM_PWM_01C
|
||||
bool "SM_PWM_01C Amphenol infrared dust sensor"
|
||||
bool
|
||||
prompt "SM_PWM_01C Amphenol infrared dust sensor" if !(MODULE_SAUL_DEFAULT && HAVE_SM_PWM_01C)
|
||||
default (MODULE_SAUL_DEFAULT && HAVE_SM_PWM_01C)
|
||||
depends on HAS_PERIPH_GPIO
|
||||
depends on HAS_PERIPH_GPIO_IRQ
|
||||
depends on TEST_KCONFIG
|
||||
@ -20,6 +22,12 @@ config MODULE_SM_PWM_01C_MA
|
||||
depends on MODULE_SM_PWM_01C
|
||||
default y
|
||||
|
||||
config HAVE_SM_PWM_01C
|
||||
bool
|
||||
help
|
||||
Indicates that a SM_PWM_01C Amphenol infrared dust sensor is present.
|
||||
|
||||
|
||||
menuconfig KCONFIG_USEMODULE_SM_PWM_01C
|
||||
bool "Configure SM_PWM_01C driver"
|
||||
depends on USEMODULE_SM_PWM_01C
|
||||
|
Loading…
Reference in New Issue
Block a user