Skip to content

Commit be18aaa

Browse files
authored
Merge pull request #15366 from s-hadinger/zip_fs_prep_arduino
Prepare for Arduino PR #6569
2 parents 749a693 + 2c12266 commit be18aaa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/libesp32/Zip-readonly-FS/src/ZipReadFS.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ class ZipReadFileImpl : public FileImpl {
171171
operator bool() {
172172
return (bool) _f;
173173
}
174+
bool setBufferSize(size_t size) {
175+
return true;
176+
}
174177

175178
protected:
176179
File _f;
@@ -226,6 +229,10 @@ class ZipItemImpl : public FileImpl {
226229
// do nothing
227230
}
228231

232+
bool setBufferSize(size_t size) {
233+
return true;
234+
}
235+
229236
bool seek(uint32_t pos, SeekMode mode) {
230237
// AddLog(LOG_LEVEL_DEBUG, "ZIP: seek pos=%i mode=%i", pos, mode);
231238
if (SeekSet == mode) {

0 commit comments

Comments
 (0)