Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7d9abbb

Browse files
authored
do not call tcp/udp ::stopAll() when it is not required to do so (#8598)
* do not call tcp/udp ::stopAll() when it is not required to to so* remove stopAll also from ArduinoOTA
1 parentd5d6a3b commit7d9abbb

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

‎libraries/ArduinoOTA/ArduinoOTA.cpp‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,6 @@ void ArduinoOTAClass::_runUpdate() {
265265
delay(100);
266266

267267
Update.setMD5(_md5.c_str());
268-
WiFiUDP::stopAll();
269-
WiFiClient::stopAll();
270268

271269
if (_start_callback) {
272270
_start_callback();

‎libraries/ESP8266HTTPUpdateServer/src/ESP8266HTTPUpdateServer-impl.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ void ESP8266HTTPUpdateServerTemplate<ServerType>::setup(ESP8266WebServerTemplate
8989
return;
9090
}
9191

92-
WiFiUDP::stopAll();
9392
if (_serial_output)
9493
Serial.printf("Update: %s\n", upload.filename.c_str());
9594
if (upload.name =="filesystem") {

‎libraries/ESP8266WiFi/src/ESP8266WiFiGeneric.cpp‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ void ESP8266WiFiGenericClass::_eventCallback(void* arg)
224224

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

230229
if (event->event == EVENT_STAMODE_AUTHMODE_CHANGE) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp