This commit is contained in:
2018-09-03 03:33:51 +02:00
parent b69a0937a0
commit cbb4b95244
5 changed files with 27 additions and 12 deletions

View File

@@ -50,7 +50,7 @@ struct NeoPatternDto : public JsonStruct {
// Map a json object to this struct.
void fromJsonObject(JsonObject& json){
if(!verifyJsonObject(json)){
PRINT_MSG(Serial, "PatternState.fromJsonObject", "cannot parse JSON");
PRINT_MSG(Serial, "fromJsonObject", "cannot parse JSON");
return;
}
mode = atoi(json[JSON_MODE_NODE]);