Skip to content

Commit 3835991

Browse files
author
adrionics
authored
Merge pull request #2 from adrionics/adrionics-patch-updater-stream-timeout-1
Update Updater.h
2 parents b556075 + 4dd278b commit 3835991

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cores/esp8266/Updater.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class UpdaterClass {
8080
Should be equal to the remaining bytes when called
8181
Usable for slow streams like Serial
8282
*/
83-
size_t writeStream(Stream &data);
83+
size_t writeStream(Stream &data, uint16_t streamTimeout = 60000);
8484

8585
/*
8686
If all bytes are written

0 commit comments

Comments
 (0)