Home printer after aborting

Otherwise the head gets left on top of the print and you'd have to manually move it aside after each abort.
This commit is contained in:
Ghostkeeper 2017-07-10 13:38:40 +02:00
parent 8822307e02
commit 6d2b46244f
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -622,6 +622,8 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
self._sendCommand("M140 S0")
self._sendCommand("M104 S0")
self._sendCommand("M107")
self.homeHead()
self.homeBed()
self._sendCommand("M84")
self._is_printing = False
self._is_paused = False