mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-22 17:02:25 +00:00
feat(esp_hw_support): support esp32p4 sleep cpu retention
This commit is contained in:
@@ -370,7 +370,7 @@ static esp_err_t esp_pm_sleep_configure(const void *vconfig)
|
||||
esp_err_t err = ESP_OK;
|
||||
const esp_pm_config_t* config = (const esp_pm_config_t*) vconfig;
|
||||
|
||||
#if SOC_PM_SUPPORT_CPU_PD
|
||||
#if CONFIG_PM_POWER_DOWN_CPU_IN_LIGHT_SLEEP
|
||||
err = sleep_cpu_configure(config->light_sleep_enable);
|
||||
if (err != ESP_OK) {
|
||||
return err;
|
||||
|
Reference in New Issue
Block a user