Commit 7504e5a7 authored by D1plo1d's avatar D1plo1d

Adding target_temp_changed events to prontserve

parent c7eeabf3
...@@ -329,6 +329,8 @@ class Prontserve(pronsole.pronsole, EventEmitter): ...@@ -329,6 +329,8 @@ class Prontserve(pronsole.pronsole, EventEmitter):
print "%stemp %s"%(prefix, kwargs[k]) print "%stemp %s"%(prefix, kwargs[k])
setter = getattr(pronsole.pronsole, "do_%stemp"%prefix) setter = getattr(pronsole.pronsole, "do_%stemp"%prefix)
setter(self, kwargs[k]) setter(self, kwargs[k])
pprint({prefix: kwargs[k]})
self.fire("target_temp_changed", {k: kwargs[k]})
def do_set_feedrate(self, **kwargs): def do_set_feedrate(self, **kwargs):
# TODO: kwargs[xy] * 60 and kwargs[z] * 60 # TODO: kwargs[xy] * 60 and kwargs[z] * 60
......
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