Skip to content

Commit

Permalink
Fixes for non-ESP32 boards
Browse files Browse the repository at this point in the history
  • Loading branch information
troyhacks committed Nov 26, 2024
1 parent 42a8889 commit db0c249
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wled00/file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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");
}

Expand Down

0 comments on commit db0c249

Please sign in to comment.