Add support for default ledmap.json + peek with ledmap if default panel

Thx to @Troy#2642
This commit is contained in:
Ewoud
2023-02-13 19:09:02 +01:00
parent 0d0f6b5e30
commit 9ba9a61af5
5 changed files with 767 additions and 760 deletions

View File

@@ -1990,8 +1990,8 @@ void WS2812FX::deserializeMap(uint8_t n) {
if (!requestJSONBufferLock(7)) return;
DEBUG_PRINT(F("Reading LED map from "));
DEBUG_PRINTLN(fileName);
USER_PRINT(F("Reading LED map from ")); //WLEDMM use USER_PRINT
USER_PRINTLN(fileName);
if (!readObjectFromFile(fileName, nullptr, &doc)) {
releaseJSONBufferLock();