refactor(temperature_sensor): Make temperature sensor adapt to cpp,

Closes https://github.com/espressif/esp-idf/issues/17656
This commit is contained in:
C.S.M
2025-09-28 13:24:03 +08:00
parent d28a923eb7
commit c8dd00a347
6 changed files with 43 additions and 27 deletions
+2 -2
View File
@@ -638,9 +638,9 @@ FORCE_INLINE_ATTR uint32_t pmu_ll_hp_get_analog_wait_target_cycle(pmu_dev_t *hw)
return HAL_FORCE_READ_U32_REG_FIELD(hw->wakeup.cntl7, ana_wait_target);
}
FORCE_INLINE_ATTR uint32_t pmu_ll_hp_set_lite_wakeup_enable(pmu_dev_t *hw, bool wakeup_en)
FORCE_INLINE_ATTR void pmu_ll_hp_set_lite_wakeup_enable(pmu_dev_t *hw, bool wakeup_en)
{
return hw->wakeup.cntl8.lp_lite_wakeup_ena = wakeup_en;
hw->wakeup.cntl8.lp_lite_wakeup_ena = wakeup_en;
}
FORCE_INLINE_ATTR void pmu_ll_hp_set_digital_power_supply_wait_cycle(pmu_dev_t *hw, uint32_t cycle)