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;