mirror of
https://github.com/s00500/ESPUI.git
synced 2024-11-21 22:50:55 +00:00
Update ESPUI.cpp
Changed FILE_WRITE to FILE_WRITING for compatibility with SD.h for usage with SD cards
This commit is contained in:
parent
dd234135f2
commit
9ba3f5a940
@ -266,7 +266,7 @@ void ESPUIClass::writeFile(const char* path, const char* data)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
File file = EspuiLittleFS.open(path, FILE_WRITE);
|
File file = EspuiLittleFS.open(path, FILE_WRITING);
|
||||||
if (!file)
|
if (!file)
|
||||||
{
|
{
|
||||||
#if defined(DEBUG_ESPUI)
|
#if defined(DEBUG_ESPUI)
|
||||||
|
Loading…
Reference in New Issue
Block a user