aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/bltouch.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2024-05-25 20:52:18 -0400
committerKevin O'Connor <kevin@koconnor.net>2024-06-10 12:20:21 -0400
commitf72f94e299e33c77e6c1a4a75cf632fc8fc812e0 (patch)
tree2b107fddb6af6b88b7589a06b0eb2e88f2314c44 /klippy/extras/bltouch.py
parent58753e58a24678b78379d9fa124e691ffd624394 (diff)
downloadkutter-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/bltouch.py')
-rw-r--r--klippy/extras/bltouch.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/klippy/extras/bltouch.py b/klippy/extras/bltouch.py
index 482578c7..081b9271 100644
--- a/klippy/extras/bltouch.py
+++ b/klippy/extras/bltouch.py
@@ -28,8 +28,6 @@ class BLTouchEndstopWrapper:
self.printer = config.get_printer()
self.printer.register_event_handler("klippy:connect",
self.handle_connect)
- self.printer.register_event_handler('klippy:mcu_identify',
- self.handle_mcu_identify)
self.position_endstop = config.getfloat('z_offset', minval=0.)
self.stow_on_each_sample = config.getboolean('stow_on_each_sample',
True)
@@ -70,11 +68,6 @@ class BLTouchEndstopWrapper:
desc=self.cmd_BLTOUCH_STORE_help)
# multi probes state
self.multi = 'OFF'
- 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)
def handle_connect(self):
self.sync_mcu_print_time()
self.next_cmd_time += 0.200