mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
fix(esp_hw_support): add the TOP domain's power-off dependency on the CNNT domain
This commit is contained in:
@@ -2733,7 +2733,7 @@ static SLEEP_FN_ATTR uint32_t get_power_down_flags(void)
|
||||
#endif
|
||||
|
||||
#if SOC_PM_SUPPORT_CNNT_PD
|
||||
if (s_config.domain[ESP_PD_DOMAIN_CNNT].pd_option != ESP_PD_OPTION_ON) {
|
||||
if (s_config.domain[ESP_PD_DOMAIN_CNNT].pd_option != ESP_PD_OPTION_ON && top_domain_pd_allowed()) {
|
||||
pd_flags |= PMU_SLEEP_PD_CNNT;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user