mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-27 21:26:43 +00:00
Fix ArduinoJson 6.18.0 breaking change
This commit is contained in:
parent
0e57e62763
commit
f704593ad2
@ -611,9 +611,6 @@ void dispatch_parse_json(const char*, const char* payload)
|
|||||||
} else if(json.is<const char*>()) { // handle json as a single command
|
} else if(json.is<const char*>()) { // handle json as a single command
|
||||||
dispatch_text_line(json.as<const char*>());
|
dispatch_text_line(json.as<const char*>());
|
||||||
|
|
||||||
} else if(json.is<char*>()) { // handle json as a single command
|
|
||||||
dispatch_text_line(json.as<char*>());
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
LOG_WARNING(TAG_MSGR, F(D_DISPATCH_COMMAND_NOT_FOUND), payload);
|
LOG_WARNING(TAG_MSGR, F(D_DISPATCH_COMMAND_NOT_FOUND), payload);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user