mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-15 00:02:49 +03:00
Update ArduinoOTA.cpp
my bad
This commit is contained in:
@ -54,7 +54,9 @@ void ArduinoOTA::handle() {
|
|||||||
|
|
||||||
if (!*_udp_ota) {
|
if (!*_udp_ota) {
|
||||||
_udp_ota->begin(_port);
|
_udp_ota->begin(_port);
|
||||||
Serial.println(F("OTA restarted"));
|
if (_serial_debug) {
|
||||||
|
Serial.println("OTA restarted");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!_udp_ota->parsePacket()) return;
|
if (!_udp_ota->parsePacket()) return;
|
||||||
|
Reference in New Issue
Block a user