Skip to content

Commit

Permalink
Fix: the absolut encoder feature type error found by AK
Browse files Browse the repository at this point in the history
  • Loading branch information
trinamic-bp committed Apr 1, 2022
1 parent 04abae9 commit 22b9486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytrinamic/features/absolute_encoder_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ def set_type(self, encoder_type):
This value is stored as AbsoluteEncoderType axis parameter.
Parameters:
type: Absolute encoder type
encoder_type: Absolute encoder type
"""
if self._hasAbsoluteEncoderType:
self._parent.set_axis_parameter(self._aps.AbsoluteEncoderType, self._axis, type)
self._parent.set_axis_parameter(self._aps.AbsoluteEncoderType, self._axis, encoder_type)

def get_type(self):
"""
Expand Down

0 comments on commit 22b9486

Please sign in to comment.