fix(ble): fixed ble occasional rx exception issue

This commit is contained in:
zwl 2023-11-17 17:30:57 +08:00 committed by luomanruo
parent 2cf6c185dc
commit 9cf6280eea

View File

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