We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99e68a0 commit 6f84a43Copy full SHA for 6f84a43
libraries/ArduinoOTA/src/ArduinoOTA.cpp
@@ -376,7 +376,7 @@ void ArduinoOTAClass::handle() {
376
if (_udp_ota.parsePacket()) {
377
_onRx();
378
}
379
- _udp_ota.flush(); // always flush, even zero length packets must be flushed.
+ _udp_ota.clear(); // always clear, even zero length packets must be cleared.
380
381
382
int ArduinoOTAClass::getCommand() {
0 commit comments