fix(esp_pm): Constrains the minimum frequency of APB_MAX when the modem is working

This commit is contained in:
wuzhenghui
2023-07-14 15:24:44 +08:00
parent ec82d1489e
commit 2b600df4ee
10 changed files with 13 additions and 12 deletions

View File

@@ -325,9 +325,6 @@ void wifi_apb80m_request(void)
{
assert(s_wifi_modem_sleep_lock);
esp_pm_lock_acquire(s_wifi_modem_sleep_lock);
if (esp_clk_apb_freq() != APB_CLK_FREQ) {
ESP_LOGE(__func__, "WiFi needs 80MHz APB frequency to work, but got %dHz", esp_clk_apb_freq());
}
}
void wifi_apb80m_release(void)