From e1919e37316a106aec7d9fbfb0d4d5df7ad974c6 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 15 Nov 2019 12:21:23 -0500 Subject: [PATCH] toolhead: Don't report buffer_time stat during homing The buffer_time info is misleading during a homing operation - just report zero instead. Signed-off-by: Kevin O'Connor --- klippy/toolhead.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/klippy/toolhead.py b/klippy/toolhead.py index 4855caf6..a5b91c46 100644 --- a/klippy/toolhead.py +++ b/klippy/toolhead.py @@ -461,6 +461,8 @@ class ToolHead: m.check_active(self.print_time, eventtime) buffer_time = self.print_time - self.mcu.estimated_print_time(eventtime) is_active = buffer_time > -60. or not self.special_queuing_state + if self.special_queuing_state == "Drip": + buffer_time = 0. return is_active, "print_time=%.3f buffer_time=%.3f print_stall=%d" % ( self.print_time, max(buffer_time, 0.), self.print_stall) def check_busy(self, eventtime):