From ecb2390552a915c679b0556532ece205e5fa775b Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Mon, 7 Dec 2015 14:56:33 -0500 Subject: [PATCH] Speed up getting operational by sending M105 as soon as Marlin is ready, not after 2s timeout --- Cura/util/machineCom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2