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
1 changed files with 1 additions and 1 deletions

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)