manual_stepper: Add missing calc_position() wrapper call

Commit 3814a132 added code to homing.py to call calc_position() - add
that function to manual_stepper.py .

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2021-08-26 12:23:12 -04:00
parent 25e493ef75
commit 8d4d16d51a
1 changed files with 2 additions and 0 deletions

View File

@ -121,6 +121,8 @@ class ManualStepper:
return self return self
def get_steppers(self): def get_steppers(self):
return self.steppers return self.steppers
def calc_position(self, stepper_positions):
return [stepper_positions[self.rail.get_name()], 0., 0.]
def load_config_prefix(config): def load_config_prefix(config):
return ManualStepper(config) return ManualStepper(config)