Merge pull request #13670 from s-hadinger/berry_ffsp

Force Berry and Autoconf to use internal Flash file-system
This commit is contained in:
s-hadinger 2021-11-14 18:57:13 +01:00 committed by GitHub
commit 2a088303e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -19,8 +19,8 @@
#ifdef USE_UFILESYS
#include <FS.h>
#include "ZipReadFS.h"
extern FS *ufsp;
FS zip_ufsp(ZipReadFSImplPtr(new ZipReadFSImpl(&ufsp)));
extern FS *ffsp;
FS zip_ufsp(ZipReadFSImplPtr(new ZipReadFSImpl(&ffsp)));
#endif // USE_UFILESYS
/* this file contains configuration for the file system. */
@ -105,7 +105,7 @@ extern "C" {
const char *path = be_tostring(vm, 1);
be_newobject(vm, "list");
File dir = ufsp->open(path, "r");
File dir = ffsp->open(path, "r");
if (dir) {
dir.rewindDirectory();
while (1) {