ble(fix): fix RX issue on ESP32-C2

This commit is contained in:
luomanruo
2023-11-24 19:34:54 +08:00
parent ff0106345f
commit 49d81c71a8
2 changed files with 4 additions and 4 deletions

View File

@ -781,10 +781,10 @@ 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 #if (CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S3)
phy_init_param_set(1);
#else
phy_init_param_set(0); phy_init_param_set(0);
#else
phy_init_param_set(1);
#endif #endif
#endif #endif