From 02d92e32c778133ac5f629820c01f40cec528518 Mon Sep 17 00:00:00 2001 From: Blaz Kristan Date: Fri, 18 Feb 2022 17:01:34 +0100 Subject: [PATCH] Parsing IR JSON cmd fix. --- wled00/ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wled00/ir.cpp b/wled00/ir.cpp index 0358fdfa..39a254f9 100644 --- a/wled00/ir.cpp +++ b/wled00/ir.cpp @@ -575,7 +575,7 @@ void decodeIRJson(uint32_t code) cmdStr = fdo["cmd"].as(); jsonCmdObj = fdo["cmd"]; //object - if (!cmdStr.isEmpty()) + if (jsonCmdObj.isNull()) { if (cmdStr.startsWith("!")) { // call limited set of C functions