From ac57da87134fa514c5153d10e1b71d8181d0b35c Mon Sep 17 00:00:00 2001 From: Christian Schwinne Date: Mon, 24 Oct 2022 19:12:27 +0200 Subject: [PATCH] No F() and numeric comparison --- wled00/wled_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wled00/wled_server.cpp b/wled00/wled_server.cpp index e9561aec..61010484 100644 --- a/wled00/wled_server.cpp +++ b/wled00/wled_server.cpp @@ -45,7 +45,7 @@ void handleUpload(AsyncWebServerRequest *request, const String& filename, size_t request->_tempFile = WLED_FS.open(finalname, "w"); DEBUG_PRINT(F("Uploading ")); DEBUG_PRINTLN(finalname); - if (finalname.equals(F("/presets.json")) >= 0) presetsModifiedTime = toki.second(); + if (finalname.equals("/presets.json")) presetsModifiedTime = toki.second(); } if (len) { request->_tempFile.write(data,len);