feat(phy): support async update phy antenna config

This commit is contained in:
alanmaxwell
2024-03-25 14:46:57 +08:00
parent 408a4675ee
commit 2b8b3f49bf
3 changed files with 66 additions and 26 deletions

View File

@@ -279,6 +279,12 @@ void esp_phy_enable(esp_phy_modem_t modem)
#if !CONFIG_IDF_TARGET_ESP32
phy_track_pll_init();
#endif
if (phy_ant_need_update()) {
phy_ant_update();
phy_ant_clr_update_flag();
}
}
phy_set_modem_flag(modem);
#if !CONFIG_IDF_TARGET_ESP32