From f71f0ba5ec374896e76931668b97af94d8ae0bff Mon Sep 17 00:00:00 2001 From: hydevcode Date: Mon, 9 Sep 2024 18:08:05 +0800 Subject: [PATCH] [sensor_v1]max31865 pkg adapt sensor_v1 frame --- peripherals/sensors/max31865/Kconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/peripherals/sensors/max31865/Kconfig b/peripherals/sensors/max31865/Kconfig index b63aac5a71..22c6d9bdea 100644 --- a/peripherals/sensors/max31865/Kconfig +++ b/peripherals/sensors/max31865/Kconfig @@ -10,7 +10,12 @@ if PKG_USING_MAX31865 string default "/packages/peripherals/sensors/max31865" - config MAX31865_REF_RES + config PKG_MAX31865_USING_SENSOR_V1_DEVICE + bool "Enable sensor_v1 device framework" + select RT_USING_SENSOR + default n + + config PKG_MAX31865_REF_RES int "MAX31865 reference resistor. Unit: Milliohm" default 400000