diff --git a/cores/esp8266/Updater.h b/cores/esp8266/Updater.h index 8de16c7ed..9f5682f0d 100644 --- a/cores/esp8266/Updater.h +++ b/cores/esp8266/Updater.h @@ -80,7 +80,7 @@ class UpdaterClass { Should be equal to the remaining bytes when called Usable for slow streams like Serial */ - size_t writeStream(Stream &data); + size_t writeStream(Stream &data, uint16_t streamTimeout = 60000); /* If all bytes are written