mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 07:04:32 +02:00
bugfix: fix esp_mac_bb_power_up
This commit is contained in:
@@ -418,11 +418,13 @@ void esp_mac_bb_pd_mem_deinit(void)
|
||||
|
||||
IRAM_ATTR void esp_mac_bb_power_up(void)
|
||||
{
|
||||
esp_wifi_bt_power_domain_on();
|
||||
#if SOC_PM_MODEM_RETENTION_BY_BACKUPDMA
|
||||
if (s_mac_bb_pd_mem == NULL) {
|
||||
return;
|
||||
}
|
||||
#endif // SOC_PM_MODEM_RETENTION_BY_BACKUPDMA
|
||||
esp_wifi_bt_power_domain_on();
|
||||
#if SOC_PM_MODEM_RETENTION_BY_BACKUPDMA
|
||||
if (!s_mac_bb_pu) {
|
||||
esp_phy_common_clock_enable();
|
||||
phy_freq_mem_backup(false, s_mac_bb_pd_mem);
|
||||
|
Reference in New Issue
Block a user