Merge pull request #2004 from HyperAtlas/master

CRONIXIE check in json.cpp
This commit is contained in:
Christian Schwinne 2021-06-02 00:25:04 +02:00 committed by GitHub
commit 89b2b066ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -263,9 +263,11 @@ bool deserializeState(JsonObject root)
}
}
#ifndef WLED_DISABLE_CRONIXIE
if (root["nx"].is<const char*>()) {
strncpy(cronixieDisplay, root["nx"], 6);
}
#endif
usermods.readFromJsonState(root);