refactor(temperature_sensor): Move calibration function from efuse to hal

This commit is contained in:
C.S.M
2025-06-16 10:58:11 +08:00
parent d839ecbcf0
commit caf1a18188
31 changed files with 190 additions and 322 deletions
@@ -274,7 +274,7 @@ esp_err_t temperature_sensor_disable(temperature_sensor_handle_t tsens)
static esp_err_t read_delta_t_from_efuse(void)
{
if (esp_efuse_rtc_calib_get_tsens_val(&s_deltaT) != ESP_OK) {
if (temperature_sensor_ll_calib_get_tsens_val(&s_deltaT) != true) {
ESP_LOGW(TAG, "Calibration failed");
}
ESP_LOGD(TAG, "s_deltaT = %f", s_deltaT);