1
0
mirror of https://github.com/s00500/ESPUI.git synced 2024-12-22 14:20:51 +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:
sunlord2k 2024-04-05 12:10:10 +02:00 committed by GitHub
parent dd234135f2
commit 9ba3f5a940
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -266,7 +266,7 @@ void ESPUIClass::writeFile(const char* path, const char* data)
}
#endif
File file = EspuiLittleFS.open(path, FILE_WRITE);
File file = EspuiLittleFS.open(path, FILE_WRITING);
if (!file)
{
#if defined(DEBUG_ESPUI)