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;
|
||||
}
|
||||
|
||||
jsonCmdObj = fdo["cmd"];
|
||||
cmdStr = String(jsonCmdObj);
|
||||
cmd = fdo["cmd"]; //string
|
||||
cmdStr = String(cmd);
|
||||
jsonCmdObj = fdo["cmd"]; //object
|
||||
|
||||
if (!cmdStr.isEmpty())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user