diff --git a/printrun/printcore.py b/printrun/printcore.py index 52672be3..042c94ef 100644 --- a/printrun/printcore.py +++ b/printrun/printcore.py @@ -416,16 +416,7 @@ def startprint(self, gcode, startindex = 0): return True self.clear = False - - '''Reset Gcode line number for printer, pls. see issue #1421. - Actual Prusa firmware >3.12.x needs "M110 N-1" - Smoothieware firmware needs "N-1 M110" - Old Marlin firmware 1.0.0 needs in addition line checksum - self._send("M110 N-1", -1, True) results in sending "N-1 M110 N-1*125" - and do not harm Smoothieware and old Marlin firmware. - Test for Prusa is needed. - ''' - self._send("M110 N-1", -1, True) #all in one if Prusa works with "N-1 M110 N-1 + checksum" + self._send("M110 N-1", -1, True) resuming = (startindex != 0) self.print_thread = threading.Thread(target = self._print, @@ -684,16 +675,7 @@ def _sendnext(self): if not self.paused: self.queueindex = 0 self.lineno = 0 - - '''Reset Gcode line number for printer, pls. see issue #1421. - Actual Prusa firmware >3.12.x needs "M110 N-1" - Smoothieware firmware needs "N-1 M110" - Old Marlin firmware 1.0.0 needs in addition line checksum - self._send("M110 N-1", -1, True) results in sending "N-1 M110 N-1*125" - and do not harm Smoothieware and old Marlin firmware. - Test for Prusa is needed. - ''' - self._send("M110 N-1", -1, True) #all in one if Prusa works with "N-1 M110 N-1 + checksum" + self._send("M110 N-1", -1, True) def _send(self, command, lineno = 0, calcchecksum = False): # Only add checksums if over serial (tcp does the flow control itself)