Skip to content

Commit 7578c1f

Browse files
committed
Fix documentation for Motor.position_sp
s/counts_per_rot/count_per_rot See #439
1 parent 78470e5 commit 7578c1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ev3dev/motor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def position_sp(self):
477477
"""
478478
Writing specifies the target position for the `run-to-abs-pos` and `run-to-rel-pos`
479479
commands. Reading returns the current value. Units are in tacho counts. You
480-
can use the value returned by `counts_per_rot` to convert tacho counts to/from
480+
can use the value returned by `count_per_rot` to convert tacho counts to/from
481481
rotations or degrees.
482482
"""
483483
self._position_sp, value = self.get_attr_int(self._position_sp, 'position_sp')

0 commit comments

Comments
 (0)