mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
Merge remote-tracking branch 'remotes/esp8266/master' into w5100
This commit is contained in:
commit
6e968aa65f
@ -52,6 +52,13 @@ void ArduinoOTA::setup() {
|
|||||||
|
|
||||||
void ArduinoOTA::handle() {
|
void ArduinoOTA::handle() {
|
||||||
|
|
||||||
|
if (!*_udp_ota) {
|
||||||
|
_udp_ota->begin(_port);
|
||||||
|
if (_serial_debug) {
|
||||||
|
Serial.println("OTA restarted");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!_udp_ota->parsePacket()) return;
|
if (!_udp_ota->parsePacket()) return;
|
||||||
|
|
||||||
IPAddress remote = _udp_ota->remoteIP();
|
IPAddress remote = _udp_ota->remoteIP();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user