Parsing IR JSON cmd fix.

This commit is contained in:
Blaz Kristan 2022-02-18 17:01:34 +01:00
parent bb9afcb304
commit 02d92e32c7

View File

@ -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