Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
6f84a436
Unverified
Commit
6f84a436
authored
Aug 28, 2024
by
Juraj Andrássy
Committed by
GitHub
Aug 28, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: ArduinoOTA - change occurrence of client.flush() to clear() (#10233)
parent
99e68a05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libraries/ArduinoOTA/src/ArduinoOTA.cpp
libraries/ArduinoOTA/src/ArduinoOTA.cpp
+1
-1
No files found.
libraries/ArduinoOTA/src/ArduinoOTA.cpp
View file @
6f84a436
...
...
@@ -376,7 +376,7 @@ void ArduinoOTAClass::handle() {
if
(
_udp_ota
.
parsePacket
())
{
_onRx
();
}
_udp_ota
.
flush
();
// always flush, even zero length packets must be flush
ed.
_udp_ota
.
clear
();
// always clear, even zero length packets must be clear
ed.
}
int
ArduinoOTAClass
::
getCommand
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment