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

This commit is contained in:
puuu 2020-09-30 20:39:25 +09:00 committed by GitHub
parent 0dfa5babc2
commit 5871ca9ce9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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));
}