From db0c2492af5d3053010028a34e5ccd8d2cedeaa8 Mon Sep 17 00:00:00 2001 From: Troy <5659019+troyhacks@users.noreply.github.com> Date: Tue, 26 Nov 2024 12:09:44 -0500 Subject: [PATCH] Fixes for non-ESP32 boards --- wled00/file.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wled00/file.cpp b/wled00/file.cpp index edcf65275e..849ecc5700 100644 --- a/wled00/file.cpp +++ b/wled00/file.cpp @@ -474,7 +474,7 @@ void invalidateFileNameCache() { // reset "file not found" cache haveSkinFile = true; haveICOFile = true; haveCpalFile = true; - + #ifdef ESP32 if (psramFound()) { // WLEDMM hack to clear presets.json cache size_t dummy; @@ -483,6 +483,7 @@ void invalidateFileNameCache() { // reset "file not found" cache (void) getPresetCache(dummy); // clear presets.json cache presetsModifiedTime = realpresetsTime; // restore correct value } + #endif //USER_PRINTLN("WS FileRead cache cleared"); }