1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

Merge remote-tracking branch 'remotes/esp8266/master' into docu

This commit is contained in:
Markus Sattler 2015-11-06 09:36:10 +01:00
commit 35e643124f

View File

@ -51,6 +51,13 @@ void ArduinoOTA::setup() {
}
void ArduinoOTA::handle() {
if (!*_udp_ota) {
_udp_ota->begin(_port);
if (_serial_debug) {
Serial.println("OTA restarted");
}
}
if (!_udp_ota->parsePacket()) return;