chiark / gitweb /
Speed up getting operational by sending M105 as soon as Marlin is ready, not after...
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Mon, 7 Dec 2015 19:56:33 +0000 (14:56 -0500)
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>
Tue, 8 Dec 2015 18:36:20 +0000 (13:36 -0500)
Cura/util/machineCom.py

index 0178bfb95efa29da69f03de8242fd73fb84330e4..0282fd7c7d67c8567bcf54c249826e9aab27f564 100644 (file)
@@ -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)