From 9ba3f5a9404d0f234fb3bdd5fad26bdd9205dc70 Mon Sep 17 00:00:00 2001 From: sunlord2k <37815714+sunlord2k@users.noreply.github.com> Date: Fri, 5 Apr 2024 12:10:10 +0200 Subject: [PATCH] Update ESPUI.cpp Changed FILE_WRITE to FILE_WRITING for compatibility with SD.h for usage with SD cards --- src/ESPUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ESPUI.cpp b/src/ESPUI.cpp index 34bff21..8c95880 100644 --- a/src/ESPUI.cpp +++ b/src/ESPUI.cpp @@ -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)