From 6cba90f7dddc20f6ea51682752e1d7e1eb10df38 Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 20 Mar 2025 00:33:18 +0300 Subject: [PATCH] timer refactoring INCREASE/DECREASE postref fix mbus write if not configured corruption fixed --- lighthub/item.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lighthub/item.cpp b/lighthub/item.cpp index 2f3e91f..472a6e7 100644 --- a/lighthub/item.cpp +++ b/lighthub/item.cpp @@ -1052,7 +1052,7 @@ int Item::Ctrl(itemCmd cmd, char* subItem, bool allowRecursion, bool authorized if (subItem && subItem[0] == '$') {debugSerial<isAllowed(cmd)) { // UPDATE internal variables if (status2Send) cmd.saveItem(this,status2Send); + else debugSerial<<"NOT SAVED"<Ctrl(cmd, subItem, toExecute,authorized); if (driver->getChanType() == CH_THERMO) status2Send |= FLAG_SEND_IMMEDIATE;