File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -555,6 +555,10 @@ void WiFiGenericClass::useStaticBuffers(bool bufferMode){
555
555
_wifiUseStaticBuffers = bufferMode;
556
556
}
557
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
558
562
559
563
bool wifiLowLevelInit (bool persistent){
560
564
if (!lowLevelInitDone){
@@ -587,6 +591,10 @@ bool wifiLowLevelInit(bool persistent){
587
591
lowLevelInitDone = false ;
588
592
return lowLevelInitDone;
589
593
}
594
+ // Temporary fix to ensure that CDC+JTAG stay on on ESP32-C3
595
+ #if CONFIG_IDF_TARGET_ESP32C3
596
+ phy_bbpll_en_usb (true );
597
+ #endif
590
598
if (!persistent){
591
599
lowLevelInitDone = esp_wifi_set_storage (WIFI_STORAGE_RAM) == ESP_OK;
592
600
}
You can’t perform that action at this time.
0 commit comments