Skip to content

Commit

Permalink
Merge pull request #74 from HKM-AS/patch-1
Browse files Browse the repository at this point in the history
Update stallguard2_module.py to retrieve StallGuard2 threshold signed
  • Loading branch information
trinamic-bp authored Dec 6, 2022
2 parents a8937e5 + 2521dbe commit 99af1b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytrinamic/features/stallguard2_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def get_threshold(self):
Returns: StallGuard2 threshold.
"""
return self._parent.get_axis_parameter(self._aps.SG2Threshold, self._axis)
return self._parent.get_axis_parameter(self._aps.SG2Threshold, self._axis, signed=True)

def set_stop_velocity(self, velocity):
"""
Expand Down

0 comments on commit 99af1b2

Please sign in to comment.