From 88e4c1e5f906e2e6b05a461ec6d285e2b32d8216 Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Fri, 19 Nov 2021 09:35:06 +0100 Subject: [PATCH] drivers/lis3dh/kconfig: add hardware feature --- drivers/lis3dh/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/lis3dh/Kconfig b/drivers/lis3dh/Kconfig index 749b39329b..2a95669df4 100644 --- a/drivers/lis3dh/Kconfig +++ b/drivers/lis3dh/Kconfig @@ -12,3 +12,9 @@ config MODULE_LIS3DH depends on TEST_KCONFIG select MODULE_PERIPH_GPIO select MODULE_PERIPH_SPI + +config HAVE_LIS3DH + bool + select MODULE_LIS3DH if MODULE_SAUL_DEFAULT + help + Indicates that a lis3dh accelerometer is present.