From f6d4284d5ccc7e3041ab3d89a0a9244edcd157b9 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 6 Dec 2017 10:13:58 -0500 Subject: homing: Directly interact with the kinematic class on query_endstops() Move the query_endstop logic out of toolhead.py and into homing.py. Signed-off-by: Kevin O'Connor --- klippy/toolhead.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'klippy/toolhead.py') diff --git a/klippy/toolhead.py b/klippy/toolhead.py index e258f473..25220ab8 100644 --- a/klippy/toolhead.py +++ b/klippy/toolhead.py @@ -348,9 +348,6 @@ class ToolHead: while (not self.sync_print_time or self.print_time >= self.mcu.estimated_print_time(eventtime)): eventtime = self.reactor.pause(eventtime + 0.100) - def query_endstops(self, query_flags=""): - last_move_time = self.get_last_move_time() - return self.kin.query_endstops(last_move_time, query_flags) def set_extruder(self, extruder): last_move_time = self.get_last_move_time() self.extruder.set_active(last_move_time, False) -- cgit v1.2.3-70-g09d2