aboutsummaryrefslogtreecommitdiffstats
path: root/klippy
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-11-15 12:21:23 -0500
committerKevin O'Connor <kevin@koconnor.net>2019-11-15 12:21:23 -0500
commite1919e37316a106aec7d9fbfb0d4d5df7ad974c6 (patch)
tree4fcb0ff9d9c102370046de1026305b9304e0b6fa /klippy
parent503891cd0ed787b117bf1f422dcbdebcdc07deb3 (diff)
downloadkutter-e1919e37316a106aec7d9fbfb0d4d5df7ad974c6.tar.gz
kutter-e1919e37316a106aec7d9fbfb0d4d5df7ad974c6.tar.xz
kutter-e1919e37316a106aec7d9fbfb0d4d5df7ad974c6.zip
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 <kevin@koconnor.net>
Diffstat (limited to 'klippy')
-rw-r--r--klippy/toolhead.py2
1 files changed, 2 insertions, 0 deletions
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):