We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f28d2eb commit 4b319d9Copy full SHA for 4b319d9
cores/esp8266/Updater.cpp
@@ -371,7 +371,7 @@ size_t UpdaterClass::writeStream(Stream &data) {
371
return written;
372
}
373
374
-void UpdaterClass::printError(Stream &out){
+void UpdaterClass::printError(Print &out){
375
out.printf_P(PSTR("ERROR[%u]: "), _error);
376
if(_error == UPDATE_ERROR_OK){
377
out.println(F("No Error"));
cores/esp8266/Updater.h
@@ -72,7 +72,7 @@ class UpdaterClass {
72
/*
73
Prints the last error to an output stream
74
*/
75
- void printError(Stream &out);
+ void printError(Print &out);
76
77
78
sets the expected MD5 for the firmware (hexString)
0 commit comments