chiark / gitweb /
Do not add the corrected error messages to the term screen.
authordaid <daid303@gmail.com>
Mon, 28 Oct 2013 09:42:09 +0000 (10:42 +0100)
committerdaid <daid303@gmail.com>
Mon, 28 Oct 2013 09:42:09 +0000 (10:42 +0100)
Cura/util/machineCom.py

index a47f8f31b93f408382ceb2fa1219bb8dcd41869e..cf80b47c2069909b04acb6e50dae8101f50a3d56 100644 (file)
@@ -358,7 +358,7 @@ class MachineCom(object):
                                        t = time.time()
                                        self._heatupWaitTimeLost = t - self._heatupWaitStartTime
                                        self._heatupWaitStartTime = t
-                       elif line.strip() != '' and line.strip() != 'ok' and not line.startswith('Resend:') and line != 'echo:Unknown command:""\n' and self.isOperational():
+                       elif line.strip() != '' and line.strip() != 'ok' and not line.startswith('Resend:') and not line.startswith('Error:checksum mismatch') and not line.startswith('Error:Line Number is not Last Line Number+1') and line != 'echo:Unknown command:""\n' and self.isOperational():
                                self._callback.mcMessage(line)
 
                        if self._state == self.STATE_DETECT_BAUDRATE: