From c5a565df8a460c612cf5735cf2f4aaf6ae6c0a45 Mon Sep 17 00:00:00 2001 From: CYFS <2805686936@qq.com> Date: Sun, 15 Sep 2024 15:34:48 +0800 Subject: [PATCH] [sensor_v1]lps22hb pkg adapt sensor_v1 frame --- peripherals/sensors/lps22hb/Kconfig | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/peripherals/sensors/lps22hb/Kconfig b/peripherals/sensors/lps22hb/Kconfig index 4b2ed9da42..217872fd59 100644 --- a/peripherals/sensors/lps22hb/Kconfig +++ b/peripherals/sensors/lps22hb/Kconfig @@ -5,11 +5,16 @@ menuconfig PKG_USING_LPS22HB default n if PKG_USING_LPS22HB - + + config PKG_LPS22HB_USING_SENSOR_V1 + bool "Enable sensor_v1 divce framework" + select RT_USING_SENSOR + default n + config PKG_LPS22HB_PATH string default "/packages/peripherals/sensors/lps22hb" - + choice prompt "Version" default PKG_USING_LPS22HB_LATEST_VERSION