Merge pull request #2004 from HyperAtlas/master
CRONIXIE check in json.cpp
This commit is contained in:
commit
89b2b066ef
@ -263,9 +263,11 @@ bool deserializeState(JsonObject root)
|
||||
}
|
||||
}
|
||||
|
||||
if (root["nx"].is<const char*>()) {
|
||||
strncpy(cronixieDisplay, root["nx"], 6);
|
||||
}
|
||||
#ifndef WLED_DISABLE_CRONIXIE
|
||||
if (root["nx"].is<const char*>()) {
|
||||
strncpy(cronixieDisplay, root["nx"], 6);
|
||||
}
|
||||
#endif
|
||||
|
||||
usermods.readFromJsonState(root);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user