Commit 29903048 authored by kliment's avatar kliment

COnsistent temp handling for gettemp and monitor

parent 718eaf5c
...@@ -464,7 +464,7 @@ class pronsole(cmd.Cmd): ...@@ -464,7 +464,7 @@ class pronsole(cmd.Cmd):
self.do_help("") self.do_help("")
def tempcb(self,l): def tempcb(self,l):
if "ok T:" in l: if "T:" in l:
print l.replace("\r","").replace("T","Hotend").replace("B","Bed").replace("\n","").replace("ok ","") print l.replace("\r","").replace("T","Hotend").replace("B","Bed").replace("\n","").replace("ok ","")
self.recvlisteners.remove(self.tempcb) self.recvlisteners.remove(self.tempcb)
......
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