From 4df78f9cff38e8a1959ba8752336f7111e0f331a Mon Sep 17 00:00:00 2001 From: Cao Sen Miao Date: Wed, 17 Jan 2024 16:55:30 +0800 Subject: [PATCH] fix(temperature_sensor): Cannot switch the range smmothly on esp32h2 --- components/soc/esp32h2/include/soc/regi2c_saradc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/soc/esp32h2/include/soc/regi2c_saradc.h b/components/soc/esp32h2/include/soc/regi2c_saradc.h index aaa5fcfa7b..3b2b69cfb5 100644 --- a/components/soc/esp32h2/include/soc/regi2c_saradc.h +++ b/components/soc/esp32h2/include/soc/regi2c_saradc.h @@ -40,7 +40,7 @@ #define I2C_SARADC_TSENS_DAC 0x6 #define I2C_SARADC_TSENS_DAC_MSB 3 -#define I2C_SARADC_TSENS_DAC_LSB 3 +#define I2C_SARADC_TSENS_DAC_LSB 0 #define I2C_SARADC_DTEST 7 #define I2C_SARADC_DTEST_MSB 1