mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
Merge branch 'bugfix/esp_idf_retention_bt_4365' into 'master'
fix(esp_hw_support): fix retention hang when no module in link Closes BT-4365 See merge request espressif/esp-idf!49291
This commit is contained in:
@@ -765,6 +765,10 @@ static void retention_entries_join(void)
|
|||||||
#endif
|
#endif
|
||||||
#if SOC_LIGHT_SLEEP_SUPPORTED && SOC_DEEP_SLEEP_SUPPORTED
|
#if SOC_LIGHT_SLEEP_SUPPORTED && SOC_DEEP_SLEEP_SUPPORTED
|
||||||
ESP_ERROR_CHECK(esp_deep_sleep_register_hook(&pmu_sleep_disable_regdma_backup));
|
ESP_ERROR_CHECK(esp_deep_sleep_register_hook(&pmu_sleep_disable_regdma_backup));
|
||||||
|
#endif
|
||||||
|
} else {
|
||||||
|
#if SOC_LIGHT_SLEEP_SUPPORTED
|
||||||
|
pmu_sleep_disable_regdma_backup();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
_lock_release_recursive(&s_retention.lock);
|
_lock_release_recursive(&s_retention.lock);
|
||||||
|
|||||||
Reference in New Issue
Block a user