revert _clear_to_send.set() position
This commit is contained in:
parent
d1b6e91fea
commit
d6b01068ac
1 changed files with 2 additions and 1 deletions
|
|
@ -958,6 +958,7 @@ class MachineCom(object):
|
|||
# enqueue an M105 first thing
|
||||
if try_hello:
|
||||
self._sendCommand("?")
|
||||
self._clear_to_send.set()
|
||||
|
||||
while self._monitoring_active:
|
||||
try:
|
||||
|
|
@ -1311,6 +1312,7 @@ class MachineCom(object):
|
|||
if not self._long_running_command:
|
||||
self._log("Communication timeout during printing, forcing a line")
|
||||
self._sendCommand("?")
|
||||
self._clear_to_send.set()
|
||||
else:
|
||||
self._logger.debug("Ran into a communication timeout, but a command known to be a long runner is currently active")
|
||||
|
||||
|
|
@ -1736,7 +1738,6 @@ class MachineCom(object):
|
|||
return
|
||||
else:
|
||||
self._log("--- True")
|
||||
self._clear_to_send.set()
|
||||
self._status_report_queued = True
|
||||
self._send_queue.put((command, linenumber, command_type))
|
||||
except TypeAlreadyInQueue as e:
|
||||
|
|
|
|||
Loading…
Reference in a new issue