make compatible with arduino-esp v2
This commit is contained in:
@@ -41,7 +41,7 @@ LITTLEFSImpl::LITTLEFSImpl()
|
|||||||
|
|
||||||
bool LITTLEFSImpl::exists(const char* path)
|
bool LITTLEFSImpl::exists(const char* path)
|
||||||
{
|
{
|
||||||
File f = open(path, "r");
|
File f = open(path, "r", false);
|
||||||
return (f == true);
|
return (f == true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -16,6 +16,9 @@
|
|||||||
|
|
||||||
#include "FS.h"
|
#include "FS.h"
|
||||||
|
|
||||||
|
#define LittleFS LITTLEFS
|
||||||
|
|
||||||
|
|
||||||
namespace fs
|
namespace fs
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user