From 245917bf034804acfa3039ac308c7d4308e79e86 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 19 Feb 2020 16:46:06 -0500 Subject: 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 --- klippy/serialhdl.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'klippy/serialhdl.py') 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): -- cgit v1.2.3-70-g09d2