mirror of
https://github.com/wled/WLED.git
synced 2025-04-24 14:57:18 +00:00
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…
x
Reference in New Issue
Block a user