diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2024-05-25 20:52:18 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2024-06-10 12:20:21 -0400 |
commit | f72f94e299e33c77e6c1a4a75cf632fc8fc812e0 (patch) | |
tree | 2b107fddb6af6b88b7589a06b0eb2e88f2314c44 /klippy/extras/probe_eddy_current.py | |
parent | 58753e58a24678b78379d9fa124e691ffd624394 (diff) | |
download | kutter-f72f94e299e33c77e6c1a4a75cf632fc8fc812e0.tar.gz kutter-f72f94e299e33c77e6c1a4a75cf632fc8fc812e0.tar.xz kutter-f72f94e299e33c77e6c1a4a75cf632fc8fc812e0.zip |
probe: Move add_steppers() logic to HomingViaProbeHelper class
Perform the initial add_steppers() configuration in a single location.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/probe_eddy_current.py')
-rw-r--r-- | klippy/extras/probe_eddy_current.py | 7 |
1 files changed, 0 insertions, 7 deletions
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 |