mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/lis2dh12: Update kconfig model
This commit is contained in:
parent
e30ee6aaf0
commit
1ff07e0133
@ -36,12 +36,12 @@ config MODULE_LIS2DH12_INT
|
|||||||
bool "Interrupt lines support"
|
bool "Interrupt lines support"
|
||||||
depends on HAS_PERIPH_GPIO_IRQ
|
depends on HAS_PERIPH_GPIO_IRQ
|
||||||
select MODULE_PERIPH_GPIO_IRQ
|
select MODULE_PERIPH_GPIO_IRQ
|
||||||
|
default HAVE_LIS2DH12_INT
|
||||||
|
|
||||||
endif # MODULE_LIS2DH12
|
endif # MODULE_LIS2DH12
|
||||||
|
|
||||||
config HAVE_LIS2DH12
|
config HAVE_LIS2DH12
|
||||||
bool
|
bool
|
||||||
select MODULE_LIS2DH12 if MODULE_SAUL_DEFAULT
|
|
||||||
help
|
help
|
||||||
Indicates that a LIS2DH12 Accelerometer is present.
|
Indicates that a LIS2DH12 Accelerometer is present.
|
||||||
|
|
||||||
@ -56,3 +56,10 @@ config HAVE_LIS2DH12_SPI
|
|||||||
select HAVE_LIS2DH12
|
select HAVE_LIS2DH12
|
||||||
help
|
help
|
||||||
Indicates that a LIS2DH12 Accelerometer on the SPI bus is present.
|
Indicates that a LIS2DH12 Accelerometer on the SPI bus is present.
|
||||||
|
|
||||||
|
config HAVE_LIS2DH12_INT
|
||||||
|
bool
|
||||||
|
select HAVE_LIS2DH12
|
||||||
|
help
|
||||||
|
Indicates that a LIS2DH12 Accelerometer is present with the interrupt
|
||||||
|
pin wired.
|
||||||
|
Loading…
Reference in New Issue
Block a user