Fix wifi is initialized before bluetooth initialization, bluetooth can't stay connected

This commit is contained in:
xiongweichao
2022-07-12 14:44:46 +08:00
parent b6af8e08e8
commit 5cf696a714
3 changed files with 4 additions and 6 deletions

View File

@@ -250,12 +250,6 @@ void esp_phy_enable(void)
#if CONFIG_IDF_TARGET_ESP32
coex_bt_high_prio();
#endif
#if CONFIG_BT_ENABLED && (CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32S3)
extern void coex_pti_v2(void);
coex_pti_v2();
#endif
}
s_phy_access_ref++;