1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/sgp30: Update kconfig model

This commit is contained in:
MrKevinWeiss 2022-03-02 14:03:55 +01:00
parent 050ae8b12e
commit b539ee8223
No known key found for this signature in database
GPG Key ID: 3514539D7808D123

View File

@ -5,8 +5,10 @@
# directory for more details. # directory for more details.
# #
config MODULE_SGP30 menuconfig MODULE_SGP30
bool "SGP30 Particulate Matter Sensor" bool
prompt "SGP30 Particulate Matter Sensor" if !(MODULE_SAUL_DEFAULT && HAVE_SGP30)
default (MODULE_SAUL_DEFAULT && HAVE_SGP30)
depends on HAS_PERIPH_I2C depends on HAS_PERIPH_I2C
depends on TEST_KCONFIG depends on TEST_KCONFIG
select MODULE_CHECKSUM select MODULE_CHECKSUM
@ -23,3 +25,8 @@ config MODULE_SGP30_STRICT
If this module is enabled regular measurements will be performed If this module is enabled regular measurements will be performed
every second and no values will be returned before the 15s warmup every second and no values will be returned before the 15s warmup
period, see the datasheet for more. period, see the datasheet for more.
config HAVE_SGP30
bool
help
Indicates that a SGP30 Particulate Matter Sensor is present.