From f72f94e299e33c77e6c1a4a75cf632fc8fc812e0 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sat, 25 May 2024 20:52:18 -0400 Subject: probe: Move add_steppers() logic to HomingViaProbeHelper class Perform the initial add_steppers() configuration in a single location. Signed-off-by: Kevin O'Connor --- klippy/extras/probe_eddy_current.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'klippy/extras/probe_eddy_current.py') diff --git a/klippy/extras/probe_eddy_current.py b/klippy/extras/probe_eddy_current.py index 3f4a5e20..d2309617 100644 --- a/klippy/extras/probe_eddy_current.py +++ b/klippy/extras/probe_eddy_current.py @@ -196,13 +196,6 @@ class EddyEndstopWrapper: self._samples = [] self._is_sampling = self._start_from_home = self._need_stop = False self._trigger_time = 0. - self._printer.register_event_handler('klippy:mcu_identify', - self._handle_mcu_identify) - def _handle_mcu_identify(self): - kin = self._printer.lookup_object('toolhead').get_kinematics() - for stepper in kin.get_steppers(): - if stepper.is_active_axis('z'): - self.add_stepper(stepper) # Measurement gathering def _start_measurements(self, is_home=False): self._need_stop = False -- cgit v1.2.3-70-g09d2