Commit 23134744 authored by kliment's avatar kliment

Fix M109/M190 handling to not overflow the serial buffer.

parent 4b87be7b
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment