未验证 提交 5871ca9c 编写于 作者: P puuu 提交者: GitHub

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

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册