diff --git a/octoprint/util/comm.py b/octoprint/util/comm.py index 9b16f33..e5382cd 100644 --- a/octoprint/util/comm.py +++ b/octoprint/util/comm.py @@ -532,7 +532,7 @@ class MachineCom(object): self._doSendWithChecksum(cmd, lineNumber) self._resendDelta -= 1 - if self._resendDelta < 0: + if self._resendDelta <= 0: self._resendDelta = None def _sendCommand(self, cmd, sendChecksum=False):