Keep debug out as it was before

This commit is contained in:
Mykhailo Khulap
2018-10-18 07:24:33 +03:00
parent 18915c26c2
commit 08f1aaf72d

View File

@@ -1050,6 +1050,7 @@ boolean Item::checkModbusRetry() {
int cmd = getCmd(true); int cmd = getCmd(true);
if (cmd & CMD_RETRY) { // if last sending attempt of command was failed if (cmd & CMD_RETRY) { // if last sending attempt of command was failed
int val = getVal(); int val = getVal();
Serial.println(F("Retrying CMD"));
cmd &= ~CMD_RETRY; // Clean retry flag cmd &= ~CMD_RETRY; // Clean retry flag
Ctrl(cmd,1,&val); // Execute command again Ctrl(cmd,1,&val); // Execute command again