diff --git a/tasmota/xdrv_10_rules.ino b/tasmota/xdrv_10_rules.ino index 16ab3db18..c1dd8a64b 100644 --- a/tasmota/xdrv_10_rules.ino +++ b/tasmota/xdrv_10_rules.ino @@ -1941,6 +1941,7 @@ void ExecuteCommandBlock(const char * commands, int len) //Going to insert the command into backlog String sCurrentCommand = oneCommand; sCurrentCommand.trim(); +/* if (sCurrentCommand.length() > 0 && backlog.size() < MAX_BACKLOG && !TasmotaGlobal.backlog_mutex) { @@ -1950,6 +1951,12 @@ void ExecuteCommandBlock(const char * commands, int len) TasmotaGlobal.backlog_mutex = false; insertPosition++; } +*/ + if ((sCurrentCommand.length() > 0) && (backlog.size() < MAX_BACKLOG)) { + //Insert into backlog + backlog.add(insertPosition, sCurrentCommand); + insertPosition++; + } } return; }