Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4954dd commit 0aeefebCopy full SHA for 0aeefeb
libraries/WiFi/src/WiFiGeneric.cpp
@@ -555,6 +555,10 @@ void WiFiGenericClass::useStaticBuffers(bool bufferMode){
555
_wifiUseStaticBuffers = bufferMode;
556
}
557
558
+// Temporary fix to ensure that CDC+JTAG stay on on ESP32-C3
559
+#if CONFIG_IDF_TARGET_ESP32C3
560
+extern "C" void phy_bbpll_en_usb(bool en);
561
+#endif
562
563
bool wifiLowLevelInit(bool persistent){
564
if(!lowLevelInitDone){
@@ -587,6 +591,10 @@ bool wifiLowLevelInit(bool persistent){
587
591
lowLevelInitDone = false;
588
592
return lowLevelInitDone;
589
593
594
595
596
+ phy_bbpll_en_usb(true);
597
590
598
if(!persistent){
599
lowLevelInitDone = esp_wifi_set_storage(WIFI_STORAGE_RAM) == ESP_OK;
600
0 commit comments