diff --git a/src/octoprint/util/comm_acc.py b/src/octoprint/util/comm_acc.py index 8dacbdd5..82d65070 100644 --- a/src/octoprint/util/comm_acc.py +++ b/src/octoprint/util/comm_acc.py @@ -1757,7 +1757,8 @@ class MachineCom(object): p_command, p_linenbr, p_cmd_type = peeked_entry if(self.RX_BUFFER_SIZE - sum(self.acc_line_lengths) - len(p_command) < 5): - time.sleep(0.001) + #time.sleep(0.001) + self._clear_to_send.wait() continue # wait until we have something in the queue