fix(esp_hw_support): fix modem power enable failed after modem state wakeup

This commit is contained in:
wuzhenghui
2024-12-23 14:49:29 +08:00
parent 8c1e9489e5
commit a6de0b8446
4 changed files with 31 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -309,6 +309,8 @@ void esp_phy_enable(esp_phy_modem_t modem)
} else {
phy_wakeup_init();
}
} else {
phy_wakeup_from_modem_state_extra_init();
}
#else
phy_wakeup_init();