From 08e4757764858ca587fc207f4499363beeb3c055 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 2586438603..9b9eb35554 100644 --- a/components/esp_phy/src/phy_init.c +++ b/components/esp_phy/src/phy_init.c @@ -699,7 +699,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 =