make compatible with arduino-esp v2

This commit is contained in:
2021-11-27 11:08:43 +01:00
parent c1d61f850e
commit 0c8b4b6b14
2 changed files with 4 additions and 1 deletions

View File

@@ -41,7 +41,7 @@ LITTLEFSImpl::LITTLEFSImpl()
bool LITTLEFSImpl::exists(const char* path)
{
File f = open(path, "r");
File f = open(path, "r", false);
return (f == true);
}

View File

@@ -16,6 +16,9 @@
#include "FS.h"
#define LittleFS LITTLEFS
namespace fs
{