CURA-4844 fix some typos

This commit is contained in:
Jack Ha 2018-03-29 13:25:26 +02:00
parent a6d7a61c54
commit 54c85fd0ea
2 changed files with 3 additions and 3 deletions

View file

@ -58,7 +58,7 @@ class GenericOutputController(PrinterOutputController):
self._output_device.sendCommand("G90") self._output_device.sendCommand("G90")
def homeHead(self, printer): def homeHead(self, printer):
# Ultimaker+ frimware is 'Marlin V1' and UM2 is "Marlin Ultimaker2" # Ultimaker+ firmware is 'Marlin V1' and UM2 is "Marlin Ultimaker2"
# For this reason UM2 should move only X, Y and not Z, otherwise it might brake the build plate # For this reason UM2 should move only X, Y and not Z, otherwise it might brake the build plate
name = self._output_device.getFirmwareName() name = self._output_device.getFirmwareName()
if name and name.find("Ultimaker2") != -1: if name and name.find("Ultimaker2") != -1:

View file

@ -230,7 +230,7 @@ class USBPrinterOutputDevice(PrinterOutputDevice):
self._baud_rate = baud_rate self._baud_rate = baud_rate
def connect(self): def connect(self):
self._firmware_name = None # after each connection ensure that the frimware name is removed self._firmware_name = None # after each connection ensure that the firmware name is removed
if self._baud_rate is None: if self._baud_rate is None:
if self._use_auto_detect: if self._use_auto_detect:
@ -417,4 +417,4 @@ class FirmwareUpdateState(IntEnum):
unknown_error = 3 unknown_error = 3
communication_error = 4 communication_error = 4
io_error = 5 io_error = 5
firmware_not_found_error = 6 firmware_not_found_error = 6