From 7c22e07fb312bee138d599e18ec477c7b10d5142 Mon Sep 17 00:00:00 2001 From: make-ing Date: Tue, 27 Oct 2015 15:25:01 +0100 Subject: [PATCH] changed back from wait to sleep --- src/octoprint/util/comm_acc.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/octoprint/util/comm_acc.py b/src/octoprint/util/comm_acc.py index 82d65070..8dacbdd5 100644 --- a/src/octoprint/util/comm_acc.py +++ b/src/octoprint/util/comm_acc.py @@ -1757,8 +1757,7 @@ 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) - self._clear_to_send.wait() + time.sleep(0.001) continue # wait until we have something in the queue