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:
commit
35e643124f
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user