fix(phy): Fix PHY enabled enter WiFi RX state default

This commit is contained in:
alanmaxwell
2023-08-04 11:07:57 +08:00
committed by zhangwenxu
parent 12fcc66bac
commit 503299fb32
20 changed files with 157 additions and 12 deletions

View File

@@ -773,6 +773,13 @@ void esp_phy_load_cal_and_init(void)
#if CONFIG_IDF_TARGET_ESP32S2
phy_eco_version_sel(efuse_hal_chip_revision() / 100);
#endif
// Set PHY whether in combo module
// For comode mode, phy enable will be not in WiFi RX state
#if SOC_PHY_COMBO_MODULE
phy_init_param_set(1);
#endif
esp_phy_calibration_data_t* cal_data =
(esp_phy_calibration_data_t*) calloc(sizeof(esp_phy_calibration_data_t), 1);
if (cal_data == NULL) {