1
0
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:
MrKevinWeiss 2022-03-02 14:03:59 +01:00
parent 1ace3f0d35
commit fe25c7a699
No known key found for this signature in database
GPG Key ID: 3514539D7808D123

View File

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