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:
parent
b1bb309566
commit
5462583e89
@ -7,11 +7,18 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
config MODULE_L3G4200D
|
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 HAS_PERIPH_I2C
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
select MODULE_PERIPH_I2C
|
select MODULE_PERIPH_I2C
|
||||||
|
|
||||||
|
config HAVE_L3G4200D
|
||||||
|
bool
|
||||||
|
help
|
||||||
|
Indicates that a l3g4200d sensor is present.
|
||||||
|
|
||||||
menuconfig KCONFIG_USEMODULE_L3G4200D
|
menuconfig KCONFIG_USEMODULE_L3G4200D
|
||||||
bool "Configure L3G4200D driver"
|
bool "Configure L3G4200D driver"
|
||||||
depends on USEMODULE_L3G4200D
|
depends on USEMODULE_L3G4200D
|
||||||
|
Loading…
Reference in New Issue
Block a user