Disable constant Temperature display in console

master
Jeremy Hammett 2012-05-05 20:10:30 +01:00
parent fdfd7738a2
commit dbbb51a4e0
2 changed files with 4 additions and 3 deletions

View File

@ -1116,7 +1116,7 @@ class pronsole(cmd.Cmd):
if(self.sdprinting):
self.p.send_now("M27")
time.sleep(interval)
print (self.tempreadings.replace("\r","").replace("T","Hotend").replace("B","Bed").replace("\n","").replace("ok ",""))
#print (self.tempreadings.replace("\r","").replace("T","Hotend").replace("B","Bed").replace("\n","").replace("ok ",""))
if(self.p.printing):
print "Print progress: ", 100*float(self.p.queueindex)/len(self.p.mainqueue), "%"

View File

@ -1298,8 +1298,9 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
pass
tstring=l.rstrip()
#print tstring
if (tstring!="ok" and tstring!="wait"):
print "[" + time.strftime('%H:%M:%S',time.localtime(time.time())) + "] " + tstring
#if (tstring!="ok") and (tstring!="wait"):
#print "*"+tstring+"*"
#print "[" + time.strftime('%H:%M:%S',time.localtime(time.time())) + "] " + tstring
#wx.CallAfter(self.logbox.AppendText,tstring+"\n")
for i in self.recvlisteners:
i(l)