bugfix. don't send M02 after print end / cancel to leave working coordinates as they are.
This commit is contained in:
parent
bccd87f6dc
commit
b68f613849
2 changed files with 2 additions and 2 deletions
|
|
@ -370,7 +370,7 @@ class Printer():
|
|||
#commands = ["M84"]
|
||||
#commands.extend(map(lambda x: "M104 T%d S0" % x, range(extruder_count)))
|
||||
#commands.extend(["M140 S0", "M106 S0"])
|
||||
commands = ["M05", "G0X0Y0", "M09", "M02"]
|
||||
commands = ["M05", "G0X0Y0", "M09"]
|
||||
self.commands(commands)
|
||||
|
||||
# reset progress, height, print time
|
||||
|
|
|
|||
|
|
@ -1163,7 +1163,7 @@ class MachineCom(object):
|
|||
self.sendCommand("M05");
|
||||
self.sendCommand("G0X0Y0");
|
||||
self.sendCommand("M09");
|
||||
self.sendCommand("M02");
|
||||
#self.sendCommand("M02");
|
||||
return
|
||||
|
||||
self._sendCommand(line, True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue