diff --git a/cores/esp8266/FS.h b/cores/esp8266/FS.h index 79dc319f06..0a71146b0d 100644 --- a/cores/esp8266/FS.h +++ b/cores/esp8266/FS.h @@ -64,6 +64,9 @@ class File : public Stream } size_t read(uint8_t* buf, size_t size); bool seek(uint32_t pos, SeekMode mode); + bool seek(uint32_t pos) { + return seek(pos, SeekSet); + } size_t position() const; size_t size() const; void close();