We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fc966e4 + fb87417 commit 738b9bfCopy full SHA for 738b9bf
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