diff --git a/libraries/FS/src/FS.h b/libraries/FS/src/FS.h index c27e3a64..d63fc5da 100644 --- a/libraries/FS/src/FS.h +++ b/libraries/FS/src/FS.h @@ -47,7 +47,9 @@ enum SeekMode { class File : public Stream { public: - File(FileImplPtr p = FileImplPtr()) : _p(p) {} + File(FileImplPtr p = FileImplPtr()) : _p(p) { + _timeout = 0; + } size_t write(uint8_t) override; size_t write(const uint8_t *buf, size_t size) override;