mirror of
https://github.com/anklimov/lighthub
synced 2025-12-06 11:49:51 +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);
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user