Parsing IR JSON cmd fix.
This commit is contained in:
parent
bb9afcb304
commit
02d92e32c7
@ -575,7 +575,7 @@ void decodeIRJson(uint32_t code)
|
||||
cmdStr = fdo["cmd"].as<String>();
|
||||
jsonCmdObj = fdo["cmd"]; //object
|
||||
|
||||
if (!cmdStr.isEmpty())
|
||||
if (jsonCmdObj.isNull())
|
||||
{
|
||||
if (cmdStr.startsWith("!")) {
|
||||
// call limited set of C functions
|
||||
|
Loading…
Reference in New Issue
Block a user