From 231347442106af0077f5afafde06766534154974 Mon Sep 17 00:00:00 2001 From: kliment Date: Tue, 14 Jun 2011 09:23:03 +0200 Subject: [PATCH] Fix M109/M190 handling to not overflow the serial buffer. --- printcore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/printcore.py b/printcore.py index 65d0f7c..76b2c84 100644 --- a/printcore.py +++ b/printcore.py @@ -84,7 +84,7 @@ class printcore(): if self.loud: print "RECV: ",line.rstrip() - if(line.startswith('start') or line.startswith('ok') or "T:" in line): + if(line.startswith('start') or line.startswith('ok')): self.clear=True if (not self.online or line.startswith('start')) and self.onlinecb is not None: self.onlinecb()