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:
parent
ac769807c4
commit
aa138dbe4b
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user