1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-05-03 20:44:46 +03:00

Merge pull request #2 from adrionics/adrionics-patch-updater-stream-timeout-1

Update Updater.h
This commit is contained in:
adrionics 2019-05-19 12:12:08 -06:00 committed by GitHub
commit 3835991335
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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