fix(esp_phy): Fixed BLE TX 2M problem causing by phy_wifi_enable_set()

1. Fixed BLE 2M phy TX problem causing by phy_wifi_enable_set() on ESP32-C3 and ESP32-S3
2. Fixed BLE CCA bug on ESP32-C2
3. Fixed BLE and WIFI could not receive packets after entering light sleep for a long time on ESP32-C3, ESP32-S3 and ESP32-C2
This commit is contained in:
zhiweijian
2023-12-19 14:26:00 +08:00
parent f16621c429
commit e988463ea4
2 changed files with 1 additions and 5 deletions

View File

@ -699,11 +699,7 @@ void esp_phy_load_cal_and_init(void)
// Set PHY whether in combo module
// For comode mode, phy enable will be not in WiFi RX state
#if SOC_PHY_COMBO_MODULE
#if (CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S3)
phy_init_param_set(0);
#else
phy_init_param_set(1);
#endif
#endif
esp_phy_calibration_data_t* cal_data =