From 8fe8a6deb3b7ea3eca8730d5b1500c2c27c251cd Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 2 Sep 2018 13:07:43 -0400 Subject: statistics: Move stats handling to new "extras" module Move the generation of statistics to its own module. Signed-off-by: Kevin O'Connor --- klippy/toolhead.py | 1 + 1 file changed, 1 insertion(+) (limited to 'klippy/toolhead.py') diff --git a/klippy/toolhead.py b/klippy/toolhead.py index 71a2b7e6..d94eddad 100644 --- a/klippy/toolhead.py +++ b/klippy/toolhead.py @@ -233,6 +233,7 @@ class ToolHead: self.flush_timer = self.reactor.register_timer(self._flush_handler) self.move_queue.set_flush_time(self.buffer_time_high) self.printer.try_load_module(config, "idle_timeout") + self.printer.try_load_module(config, "statistics") # Setup iterative solver ffi_main, ffi_lib = chelper.get_ffi() self.cmove = ffi_main.gc(ffi_lib.move_alloc(), ffi_lib.free) -- cgit v1.2.3-70-g09d2