Compare commits
2 Commits
ccc54923d4
...
c28cf47f61
| Author | SHA1 | Date | |
|---|---|---|---|
| c28cf47f61 | |||
| a933998cdd |
@@ -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,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")
|
||||||
|
|||||||
Reference in New Issue
Block a user