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){
555555 _wifiUseStaticBuffers = bufferMode;
556556}
557557
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
558562
559563bool wifiLowLevelInit (bool persistent){
560564 if (!lowLevelInitDone){
@@ -587,6 +591,10 @@ bool wifiLowLevelInit(bool persistent){
587591 lowLevelInitDone = false ;
588592 return lowLevelInitDone;
589593 }
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
590598 if (!persistent){
591599 lowLevelInitDone = esp_wifi_set_storage (WIFI_STORAGE_RAM) == ESP_OK;
592600 }
You can’t perform that action at this time.
0 commit comments