mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 19:59:50 +03:00
Keep debug out as it was before
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user