mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-15 18:58:03 -06:00
statistics: Move stats handling to new "extras" module
Move the generation of statistics to its own module. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
18b04ffe68
commit
8fe8a6deb3
3 changed files with 31 additions and 14 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue