mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
feat(esp32c6): auto adjust LDO voltage using pvt function
This commit is contained in:
@@ -710,7 +710,7 @@ FORCE_INLINE_ATTR void misc_modules_sleep_prepare(uint32_t sleep_flags, bool dee
|
||||
regi2c_tsens_reg_read();
|
||||
#endif
|
||||
}
|
||||
#if CONFIG_ESP_ENABLE_PVT
|
||||
#if CONFIG_ESP_ENABLE_PVT && SOC_PVT_EN_WITH_SLEEP
|
||||
pvt_func_enable(false);
|
||||
#endif
|
||||
|
||||
@@ -727,7 +727,7 @@ FORCE_INLINE_ATTR void misc_modules_sleep_prepare(uint32_t sleep_flags, bool dee
|
||||
*/
|
||||
FORCE_INLINE_ATTR void misc_modules_wake_prepare(uint32_t sleep_flags)
|
||||
{
|
||||
#if CONFIG_ESP_ENABLE_PVT
|
||||
#if CONFIG_ESP_ENABLE_PVT && SOC_PVT_EN_WITH_SLEEP
|
||||
pvt_func_enable(true);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user