aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/serialhdl.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-02-19 16:46:06 -0500
committerKevin O'Connor <kevin@koconnor.net>2020-02-20 13:24:53 -0500
commit245917bf034804acfa3039ac308c7d4308e79e86 (patch)
tree19073149cce99abac8003b6b97e1a91ae870a43b /klippy/serialhdl.py
parent332038ea017d458c27f1bb69fa7c17bfe36fcbd8 (diff)
downloadkutter-245917bf034804acfa3039ac308c7d4308e79e86.tar.gz
kutter-245917bf034804acfa3039ac308c7d4308e79e86.tar.xz
kutter-245917bf034804acfa3039ac308c7d4308e79e86.zip
mcu: Introduce new lookup_query_command() command wrapper
Use new mcu.lookup_query_command() for all commands that query information from the micro-controller. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/serialhdl.py')
-rw-r--r--klippy/serialhdl.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/klippy/serialhdl.py b/klippy/serialhdl.py
index c7c6e4d2..98bef943 100644
--- a/klippy/serialhdl.py
+++ b/klippy/serialhdl.py
@@ -145,6 +145,8 @@ class SerialReader:
self.ffi_lib.serialqueue_get_stats(
self.serialqueue, self.stats_buf, len(self.stats_buf))
return self.ffi_main.string(self.stats_buf)
+ def get_reactor(self):
+ return self.reactor
def get_msgparser(self):
return self.msgparser
def get_default_command_queue(self):