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:
Kevin O'Connor 2019-11-12 14:21:15 -05:00
parent 78153ca4c3
commit a4995c61c9
4 changed files with 8 additions and 11 deletions

View file

@ -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()