From f953fc7786ffd00d96b804403370e864beb5d06a Mon Sep 17 00:00:00 2001 From: CYFS <2805686936@qq.com> Date: Tue, 8 Oct 2024 14:23:44 +0800 Subject: [PATCH] lis2dh_sensor_adapt --- peripherals/sensors/lis2dh12/Kconfig | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/peripherals/sensors/lis2dh12/Kconfig b/peripherals/sensors/lis2dh12/Kconfig index e1f7ea4e3d..11a4843973 100644 --- a/peripherals/sensors/lis2dh12/Kconfig +++ b/peripherals/sensors/lis2dh12/Kconfig @@ -10,9 +10,10 @@ if PKG_USING_LIS2DH12 string default "/packages/peripherals/sensors/lis2dh12" - config PKG_USING_LIS2DH12_ACCE - bool "Enable lis2dh12 accelerometer" - default y + config PKG_LIS2DH12_USING_SENSOR_V1 + bool "Enable sensor_v1 divce framework(please enbale an spi bus)" + select RT_USING_SENSOR + default n choice prompt "Version"