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

drivers/lsm303dlhc: Allow SAUL_DEFAULT in kconfig

This commit is contained in:
MrKevinWeiss 2021-12-10 14:00:52 +01:00
parent ac769807c4
commit aa138dbe4b
No known key found for this signature in database
GPG Key ID: 3514539D7808D123

View File

@ -6,7 +6,14 @@
#
config MODULE_LSM303DLHC
bool "LSM303DLHC 3D accelerometer/magnetometer"
bool
prompt "LSM303DLHC 3D accelerometer/magnetometer" if !(MODULE_SAUL_DEFAULT && HAVE_LSM303DLHC)
default y if (MODULE_SAUL_DEFAULT && HAVE_LSM303DLHC)
depends on HAS_PERIPH_I2C
depends on TEST_KCONFIG
select MODULE_PERIPH_I2C
config HAVE_LSM303DLHC
bool
help
Indicates that a lsm303dlhc sensor is present.