From 68c657187780aea6fe0b61a481d287628913ac2d Mon Sep 17 00:00:00 2001 From: CXSforHPU <156403074+CXSforHPU@users.noreply.github.com> Date: Sun, 10 Nov 2024 00:33:54 +0800 Subject: [PATCH] [sensor_v1] adapt shtc1 (#1806) --- peripherals/sensors/shtc1/Kconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/peripherals/sensors/shtc1/Kconfig b/peripherals/sensors/shtc1/Kconfig index 2f303cce25..cb00672fa1 100644 --- a/peripherals/sensors/shtc1/Kconfig +++ b/peripherals/sensors/shtc1/Kconfig @@ -9,7 +9,12 @@ if PKG_USING_SHTC1 config PKG_SHTC1_PATH string default "/packages/peripherals/sensors/shtc1" - + + config PKG_SHTC1_USING_SENSOR_V1 + bool "Enable sensor_v1 divce framework" + select RT_USING_SENSOR + default y + choice prompt "Version" default PKG_USING_SHTC1_LATEST_VERSION