From 08f1aaf72d6743e467c84abfead936b91057c511 Mon Sep 17 00:00:00 2001 From: Mykhailo Khulap Date: Thu, 18 Oct 2018 07:24:33 +0300 Subject: [PATCH] Keep debug out as it was before --- lighthub/item.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lighthub/item.cpp b/lighthub/item.cpp index 91d823d..aac8b41 100644 --- a/lighthub/item.cpp +++ b/lighthub/item.cpp @@ -1050,6 +1050,7 @@ boolean Item::checkModbusRetry() { int cmd = getCmd(true); if (cmd & CMD_RETRY) { // if last sending attempt of command was failed int val = getVal(); + Serial.println(F("Retrying CMD")); cmd &= ~CMD_RETRY; // Clean retry flag Ctrl(cmd,1,&val); // Execute command again