From 29b51468e1a1b540b9a77f1d448fc1ff85efedad Mon Sep 17 00:00:00 2001 From: wuzhenghui Date: Wed, 17 Jul 2024 17:29:42 +0800 Subject: [PATCH] fix(esp_hw_support): fix bad power parameter if PSRAM is enabled during sleep --- components/esp_hw_support/port/esp32p4/pmu_sleep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_hw_support/port/esp32p4/pmu_sleep.c b/components/esp_hw_support/port/esp32p4/pmu_sleep.c index cdda568baa..bc5b231d86 100644 --- a/components/esp_hw_support/port/esp32p4/pmu_sleep.c +++ b/components/esp_hw_support/port/esp32p4/pmu_sleep.c @@ -168,8 +168,8 @@ const pmu_sleep_config_t* pmu_sleep_config_default( // Get light sleep analog default pmu_sleep_analog_config_t analog_default = PMU_SLEEP_ANALOG_LSLP_CONFIG_DEFAULT(pd_flags); #if CONFIG_SPIRAM - analog_default.hp_sys.analog.pd_cur = 1; - analog_default.lp_sys[PMU_MODE_LP_SLEEP].analog.pd_cur = 1; + analog_default.hp_sys.analog.pd_cur = 0; + analog_default.lp_sys[PMU_MODE_LP_SLEEP].analog.pd_cur = 0; #endif #if CONFIG_ESP_SLEEP_KEEP_DCDC_ALWAYS_ON