mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-24 07:04:01 -06:00
stepper: Remove add_to_endstop() method
Now that the PrinterStepper and MCU_stepper classes have been merged, there is no need for the add_to_endstop() method. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
78153ca4c3
commit
a4995c61c9
4 changed files with 8 additions and 11 deletions
|
@ -63,7 +63,7 @@ class BLTouchEndstopWrapper:
|
|||
def _build_config(self):
|
||||
kin = self.printer.lookup_object('toolhead').get_kinematics()
|
||||
for stepper in kin.get_steppers('Z'):
|
||||
stepper.add_to_endstop(self)
|
||||
self.add_stepper(stepper)
|
||||
def handle_connect(self):
|
||||
try:
|
||||
self.raise_probe()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue