From 2c12266b1b6949c218aa7116c13a0924c1cfbd4b Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Wed, 13 Apr 2022 19:15:20 +0200 Subject: [PATCH] Prepare for Arduino PR #6569 --- lib/libesp32/Zip-readonly-FS/src/ZipReadFS.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/libesp32/Zip-readonly-FS/src/ZipReadFS.cpp b/lib/libesp32/Zip-readonly-FS/src/ZipReadFS.cpp index da9b42645..ffe07dc73 100644 --- a/lib/libesp32/Zip-readonly-FS/src/ZipReadFS.cpp +++ b/lib/libesp32/Zip-readonly-FS/src/ZipReadFS.cpp @@ -171,6 +171,9 @@ public: operator bool() { return (bool) _f; } + bool setBufferSize(size_t size) { + return true; + } protected: File _f; @@ -226,6 +229,10 @@ public: // do nothing } + bool setBufferSize(size_t size) { + return true; + } + bool seek(uint32_t pos, SeekMode mode) { // AddLog(LOG_LEVEL_DEBUG, "ZIP: seek pos=%i mode=%i", pos, mode); if (SeekSet == mode) {