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

master
kliment 2011-06-14 09:23:03 +02:00
parent 4b87be7b29
commit 2313474421
1 changed files with 1 additions and 1 deletions

View File

@ -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()