Fixed typo in command for setting nozzle temp

CURA-1339
This commit is contained in:
Jaime van Kessel 2016-04-14 13:22:48 +02:00
parent 6909ed8765
commit 8c971d217d

View file

@ -101,7 +101,8 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
self._sendCommand("M140 S%s" % temperature)
def _setTargetHotendTemperature(self, index, temperature):
self._sendCommand("M140 T%s S%s" % (index, temperature))
Logger.log("d", "Setting hotend %s temperature to %s", index, temperature)
self._sendCommand("M104 T%s S%s" % (index, temperature))
def _setHeadPosition(self, x, y , z, speed):
self._sendCommand("G0 X%s Y%s Z%s F%s" % (x, y, z, speed))