From ac2634d8e70c1ed289983d7c08e63a7a1d500285 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Sun, 14 Nov 2021 18:32:17 +0100 Subject: [PATCH] Force Berry and Autoconf to use internal Flash file-system --- lib/libesp32/Berry/default/be_port.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libesp32/Berry/default/be_port.cpp b/lib/libesp32/Berry/default/be_port.cpp index 1870d3ae3..5da10f47e 100644 --- a/lib/libesp32/Berry/default/be_port.cpp +++ b/lib/libesp32/Berry/default/be_port.cpp @@ -19,8 +19,8 @@ #ifdef USE_UFILESYS #include #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) {