Unverified Commit 6f84a436 authored by Juraj Andrássy's avatar Juraj Andrássy Committed by GitHub

fix: ArduinoOTA - change occurrence of client.flush() to clear() (#10233)

parent 99e68a05
......@@ -376,7 +376,7 @@ void ArduinoOTAClass::handle() {
if (_udp_ota.parsePacket()) {
_onRx();
}
_udp_ota.flush(); // always flush, even zero length packets must be flushed.
_udp_ota.clear(); // always clear, even zero length packets must be cleared.
}
int ArduinoOTAClass::getCommand() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment