Send M104 to set the temperature to 0

This makes it possible to continue communication after cancelling a
print.

Contributes to #82
This commit is contained in:
Arjen Hiemstra 2015-07-10 16:02:01 +02:00
parent 3e27c8b791
commit 6859481fd4

View file

@ -468,7 +468,7 @@ class PrinterConnection(SignalEmitter):
# Turn of temperatures
self._sendCommand("M140 S0")
self._sendCommand("M109 S0")
self._sendCommand("M104 S0")
self._is_printing = False
## Check if the process did not encounter an error yet.