Merge pull request #15366 from s-hadinger/zip_fs_prep_arduino

Prepare for Arduino PR #6569
This commit is contained in:
s-hadinger 2022-04-13 19:23:47 +02:00 committed by GitHub
commit be18aaae18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

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