mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-06 07:16:32 +02:00
UpdateClass::printError now accepts the Print object (#3763)
This commit is contained in:
@ -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));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user