Skip to content

Commit 5871ca9

Browse files
authored
UpdateClass::printError now accepts the Print object (#3763)
1 parent 0dfa5ba commit 5871ca9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: libraries/Update/src/Update.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class UpdateClass {
7878
/*
7979
Prints the last error to an output stream
8080
*/
81-
void printError(Stream &out);
81+
void printError(Print &out);
8282

8383
const char * errorString();
8484

Diff for: libraries/Update/src/Updater.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ size_t UpdateClass::writeStream(Stream &data) {
359359
return written;
360360
}
361361

362-
void UpdateClass::printError(Stream &out){
362+
void UpdateClass::printError(Print &out){
363363
out.println(_err2str(_error));
364364
}
365365

0 commit comments

Comments
 (0)