Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
do not call tcp/udp ::stopAll() when it is not required to to so
  • Loading branch information
d-a-v committed Jun 23, 2022
commit 1f3690b2d2da61b431f92c24e76d22b5cf92f6f1
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ void ESP8266HTTPUpdateServerTemplate<ServerType>::setup(ESP8266WebServerTemplate
return;
}

WiFiUDP::stopAll();
if (_serial_output)
Serial.printf("Update: %s\n", upload.filename.c_str());
if (upload.name == "filesystem") {
Expand Down
1 change: 0 additions & 1 deletion libraries/ESP8266WiFi/src/ESP8266WiFiGeneric.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ void ESP8266WiFiGenericClass::_eventCallback(void* arg)

if(event->event == EVENT_STAMODE_DISCONNECTED) {
DEBUG_WIFI("STA disconnect: %d\n", event->event_info.disconnected.reason);
WiFiClient::stopAll();
}

if (event->event == EVENT_STAMODE_AUTHMODE_CHANGE) {
Expand Down