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

drivers/lsm6dsl Allow SAUL_DEFAULT in kconfig

This commit is contained in:
MrKevinWeiss 2021-12-14 16:19:37 +01:00
parent 4ac5ad66db
commit 8fc06376e4
No known key found for this signature in database
GPG Key ID: 3514539D7808D123

View File

@ -6,9 +6,16 @@
#
config MODULE_LSM6DSL
bool "LSM6DSL 3D accelerometer/gyroscope"
bool
prompt "LSM6DSL 3D accelerometer/gyroscope" if !(MODULE_SAUL_DEFAULT && HAVE_LSM6DSL)
default y if (MODULE_SAUL_DEFAULT && HAVE_LSM6DSL)
depends on HAS_PERIPH_I2C
depends on TEST_KCONFIG
select MODULE_PERIPH_I2C
select MODULE_ZTIMER
select MODULE_ZTIMER_MSEC
config HAVE_LSM6DSL
bool
help
Indicates that a lsm6dsl sensor is present.