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

drivers/l3g4200d: Allow SAUL_DEFAULT in kconfig

This commit is contained in:
MrKevinWeiss 2021-12-10 13:57:22 +01:00
parent b1bb309566
commit 5462583e89
No known key found for this signature in database
GPG Key ID: 3514539D7808D123

View File

@ -7,11 +7,18 @@
#
config MODULE_L3G4200D
bool "L3G4200D gyroscope"
bool
prompt "L3G4200D gyroscope" if !(MODULE_SAUL_DEFAULT && HAVE_L3G4200D)
default y if (MODULE_SAUL_DEFAULT && HAVE_L3G4200D)
depends on HAS_PERIPH_I2C
depends on TEST_KCONFIG
select MODULE_PERIPH_I2C
config HAVE_L3G4200D
bool
help
Indicates that a l3g4200d sensor is present.
menuconfig KCONFIG_USEMODULE_L3G4200D
bool "Configure L3G4200D driver"
depends on USEMODULE_L3G4200D