1
0
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:
MrKevinWeiss 2022-03-02 14:03:46 +01:00
parent e30ee6aaf0
commit 1ff07e0133
No known key found for this signature in database
GPG Key ID: 3514539D7808D123

View File

@ -36,12 +36,12 @@ config MODULE_LIS2DH12_INT
bool "Interrupt lines support"
depends on HAS_PERIPH_GPIO_IRQ
select MODULE_PERIPH_GPIO_IRQ
default HAVE_LIS2DH12_INT
endif # MODULE_LIS2DH12
config HAVE_LIS2DH12
bool
select MODULE_LIS2DH12 if MODULE_SAUL_DEFAULT
help
Indicates that a LIS2DH12 Accelerometer is present.
@ -56,3 +56,10 @@ config HAVE_LIS2DH12_SPI
select HAVE_LIS2DH12
help
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.