feat(esp_pm): fix esp32p4 cpu powerdown kconfig dependency error

This commit is contained in:
wuzhenghui
2024-04-19 12:12:53 +08:00
parent 73190dd04e
commit 01dce77fa7
15 changed files with 45 additions and 37 deletions

View File

@@ -372,7 +372,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 CONFIG_PM_POWER_DOWN_CPU_IN_LIGHT_SLEEP
#if ESP_SLEEP_POWER_DOWN_CPU
err = sleep_cpu_configure(config->light_sleep_enable);
if (err != ESP_OK) {
return err;