Compare commits

...

2 Commits

Author SHA1 Message Date
c28cf47f61 revert fix 2023-01-04 20:22:37 +01:00
a933998cdd remove littlefs warning 2023-01-04 14:47:38 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
} }

View File

@@ -16,7 +16,7 @@
#if __has_include("esp_arduino_version.h") #if __has_include("esp_arduino_version.h")
#include "esp_arduino_version.h" #include "esp_arduino_version.h"
#if ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0) #if ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(2, 0, 0)
#warning("Use the built-in LITTLEFS library") //#warning("Use the built-in LITTLEFS library")
#endif #endif
#else #else
//#warning("LITTLEFS: no esp_arduino_version.h file, likely 1.0.x") //#warning("LITTLEFS: no esp_arduino_version.h file, likely 1.0.x")