Unverified Commit 5871ca9c authored by puuu's avatar puuu Committed by GitHub

UpdateClass::printError now accepts the Print object (#3763)

parent 0dfa5bab
......@@ -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();
......
......@@ -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));
}
......
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