From 9cf6280eeaeadcc1ac89e39076d4a7490c9ae51f Mon Sep 17 00:00:00 2001 From: zwl Date: Fri, 17 Nov 2023 17:30:57 +0800 Subject: [PATCH] fix(ble): fixed ble occasional rx exception issue --- components/esp_phy/src/phy_init.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/esp_phy/src/phy_init.c b/components/esp_phy/src/phy_init.c index 77971813aa..2c330879ca 100644 --- a/components/esp_phy/src/phy_init.c +++ b/components/esp_phy/src/phy_init.c @@ -781,7 +781,11 @@ 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_ESP32C2 + phy_init_param_set(1); +#else phy_init_param_set(0); +#endif #endif esp_phy_calibration_data_t* cal_data =