From: Youness Alaoui Date: Mon, 7 Dec 2015 19:56:33 +0000 (-0500) Subject: Speed up getting operational by sending M105 as soon as Marlin is ready, not after... X-Git-Tag: lulzbot-18.03~9 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ecb2390552a915c679b0556532ece205e5fa775b;p=cura.git Speed up getting operational by sending M105 as soon as Marlin is ready, not after 2s timeout --- diff --git a/Cura/util/machineCom.py b/Cura/util/machineCom.py index 0178bfb9..0282fd7c 100644 --- a/Cura/util/machineCom.py +++ b/Cura/util/machineCom.py @@ -453,7 +453,7 @@ class MachineCom(object): else: self._testingBaudrate = False elif self._state == self.STATE_CONNECTING: - if line == '' or 'wait' in line: # 'wait' needed for Repetier (kind of watchdog) + if line == '' or 'wait' in line or 'start' in line: # 'wait' needed for Repetier (kind of watchdog) self._sendCommand("M105") elif 'ok' in line: self._changeState(self.STATE_OPERATIONAL)