Support for large ledmaps

optimize jMapC, enumerateLedmaps and deserializeMap
This commit is contained in:
Ewoud
2023-05-16 13:12:30 +02:00
parent fc0c6d9293
commit d6bc9967d0
8 changed files with 1405 additions and 1374 deletions

View File

@@ -19,9 +19,9 @@ void getStringFromJson(char* dest, const char* src, size_t len) {
bool deserializeConfig(JsonObject doc, bool fromFS) {
//WLEDMM add USER_PRINT
String temp;
serializeJson(doc, temp);
USER_PRINTF("deserializeConfig %s\n", temp.c_str());
// String temp;
// serializeJson(doc, temp);
USER_PRINTF("deserializeConfig\n");
bool needsSave = false;
//int rev_major = doc["rev"][0]; // 1