Fixed IR JSON cmd string (closes #2187 )
This commit is contained in:
parent
d0440122b9
commit
bd23942893
@ -583,8 +583,9 @@ void decodeIRJson(uint32_t code)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
jsonCmdObj = fdo["cmd"];
|
cmd = fdo["cmd"]; //string
|
||||||
cmdStr = String(jsonCmdObj);
|
cmdStr = String(cmd);
|
||||||
|
jsonCmdObj = fdo["cmd"]; //object
|
||||||
|
|
||||||
if (!cmdStr.isEmpty())
|
if (!cmdStr.isEmpty())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user