Skip to content

Commit

Permalink
Bugfix speed as array in rel positions
Browse files Browse the repository at this point in the history
  • Loading branch information
avanwinkle committed Oct 13, 2024
1 parent 628c8c9 commit f563b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpf/devices/stepper.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async def _initialize(self):
self.machine.events.add_handler(self.config['relative_positions'][position]['event'],
self.event_move_to_position,
position=position,
speed=[self.config['relative_positions'][position]['speed']],
speed=self.config['relative_positions'][position]['speed'],
is_relative=True)

if not self.platform.features['allow_empty_numbers'] and self.config['number'] is None:
Expand Down

0 comments on commit f563b63

Please sign in to comment.