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
5871ca9c
Unverified
Commit
5871ca9c
authored
Sep 30, 2020
by
puuu
Committed by
GitHub
Sep 30, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UpdateClass::printError now accepts the Print object (#3763)
parent
0dfa5bab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
libraries/Update/src/Update.h
libraries/Update/src/Update.h
+1
-1
libraries/Update/src/Updater.cpp
libraries/Update/src/Updater.cpp
+1
-1
No files found.
libraries/Update/src/Update.h
View file @
5871ca9c
...
...
@@ -78,7 +78,7 @@ class UpdateClass {
/*
Prints the last error to an output stream
*/
void
printError
(
Stream
&
out
);
void
printError
(
Print
&
out
);
const
char
*
errorString
();
...
...
libraries/Update/src/Updater.cpp
View file @
5871ca9c
...
...
@@ -359,7 +359,7 @@ size_t UpdateClass::writeStream(Stream &data) {
return
written
;
}
void
UpdateClass
::
printError
(
Stream
&
out
){
void
UpdateClass
::
printError
(
Print
&
out
){
out
.
println
(
_err2str
(
_error
));
}
...
...
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