From cb1390108e5070de7c2c77f5df724e16298b69f8 Mon Sep 17 00:00:00 2001 From: luomanruo Date: Fri, 24 Nov 2023 19:34:54 +0800 Subject: [PATCH] ble(fix): fix RX issue on ESP32-C2 --- components/esp_phy/lib | 2 +- components/esp_phy/src/phy_init.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/esp_phy/lib b/components/esp_phy/lib index a8e8b9532e..e3222517e3 160000 --- a/components/esp_phy/lib +++ b/components/esp_phy/lib @@ -1 +1 @@ -Subproject commit a8e8b9532e2874ac167d4ade7808fda70fe05820 +Subproject commit e3222517e339e9301dd7f432fa3e052cf44d325f diff --git a/components/esp_phy/src/phy_init.c b/components/esp_phy/src/phy_init.c index f83ef8b63c..cae9c2fbb4 100644 --- a/components/esp_phy/src/phy_init.c +++ b/components/esp_phy/src/phy_init.c @@ -781,10 +781,10 @@ 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 +#if (CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S3) phy_init_param_set(0); +#else + phy_init_param_set(1); #endif #endif