aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/manual_probe.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-11-13 23:34:21 -0500
committerKevin O'Connor <kevin@koconnor.net>2019-11-21 13:17:45 -0500
commit2843c850198010b1948a578a1b1421ee81be36b7 (patch)
tree48ff734635fe606a94238dd2f07fefa3dc3a3153 /klippy/extras/manual_probe.py
parent7c80e8d533728f80400691fcdf9bc3e6118e4ae8 (diff)
downloadkutter-2843c850198010b1948a578a1b1421ee81be36b7.tar.gz
kutter-2843c850198010b1948a578a1b1421ee81be36b7.tar.xz
kutter-2843c850198010b1948a578a1b1421ee81be36b7.zip
toolhead: Rename _full_flush() to flush_step_generation() and use globally
Update code that modifies the low-level kinematics handlers to first call toolhead.flush_step_generation(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/manual_probe.py')
-rw-r--r--klippy/extras/manual_probe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/manual_probe.py b/klippy/extras/manual_probe.py
index c3fcadb9..0dfba2ff 100644
--- a/klippy/extras/manual_probe.py
+++ b/klippy/extras/manual_probe.py
@@ -82,7 +82,7 @@ class ManualProbeHelper:
toolhead_pos = self.toolhead.get_position()
if toolhead_pos == self.last_toolhead_pos:
return self.last_kinematics_pos
- self.toolhead.get_last_move_time()
+ self.toolhead.flush_step_generation()
kin = self.toolhead.get_kinematics()
for s in kin.get_steppers():
s.set_tag_position(s.get_commanded_position())