mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
fix(esp_hw_support): fix tsens power enable failed after modem state wakeup
This commit is contained in:
@@ -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
|
||||
*/
|
||||
@@ -312,6 +312,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();
|
||||
@@ -335,10 +337,10 @@ void esp_phy_enable(esp_phy_modem_t modem)
|
||||
phy_track_pll_init();
|
||||
#endif
|
||||
|
||||
if (phy_ant_need_update()) {
|
||||
phy_ant_update();
|
||||
phy_ant_clr_update_flag();
|
||||
}
|
||||
if (phy_ant_need_update()) {
|
||||
phy_ant_update();
|
||||
phy_ant_clr_update_flag();
|
||||
}
|
||||
|
||||
}
|
||||
phy_set_modem_flag(modem);
|
||||
|
||||
Reference in New Issue
Block a user