From 48a5e8fd311c35bda6ef3cfdb390ae46287c0d75 Mon Sep 17 00:00:00 2001 From: Andrey Klimov Date: Sat, 15 May 2021 16:28:48 +0300 Subject: [PATCH] Modbus speedup update2 --- lighthub/item.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lighthub/item.cpp b/lighthub/item.cpp index 8338c4f..6c4781d 100644 --- a/lighthub/item.cpp +++ b/lighthub/item.cpp @@ -1101,6 +1101,7 @@ bool Item::resumeModbus() { if (modbusBusy) return false; +debugSerial<child; @@ -1110,13 +1111,15 @@ if (items) { if (it.isValid()) { switch (it.itemType){ case CH_MODBUS: - checkModbusRetry(); + bool res = it.checkModbusRetry(); + debugSerial<name<next; } //if +debugSerial<