Disable constant Temperature display in console
parent
fdfd7738a2
commit
dbbb51a4e0
|
@ -1116,7 +1116,7 @@ class pronsole(cmd.Cmd):
|
||||||
if(self.sdprinting):
|
if(self.sdprinting):
|
||||||
self.p.send_now("M27")
|
self.p.send_now("M27")
|
||||||
time.sleep(interval)
|
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):
|
if(self.p.printing):
|
||||||
print "Print progress: ", 100*float(self.p.queueindex)/len(self.p.mainqueue), "%"
|
print "Print progress: ", 100*float(self.p.queueindex)/len(self.p.mainqueue), "%"
|
||||||
|
|
||||||
|
|
|
@ -1298,8 +1298,9 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
|
||||||
pass
|
pass
|
||||||
tstring=l.rstrip()
|
tstring=l.rstrip()
|
||||||
#print tstring
|
#print tstring
|
||||||
if (tstring!="ok" and tstring!="wait"):
|
#if (tstring!="ok") and (tstring!="wait"):
|
||||||
print "[" + time.strftime('%H:%M:%S',time.localtime(time.time())) + "] " + tstring
|
#print "*"+tstring+"*"
|
||||||
|
#print "[" + time.strftime('%H:%M:%S',time.localtime(time.time())) + "] " + tstring
|
||||||
#wx.CallAfter(self.logbox.AppendText,tstring+"\n")
|
#wx.CallAfter(self.logbox.AppendText,tstring+"\n")
|
||||||
for i in self.recvlisteners:
|
for i in self.recvlisteners:
|
||||||
i(l)
|
i(l)
|
||||||
|
|
Loading…
Reference in New Issue