Skip to content

Commit d88ed7d

Browse files
MrYsLabMrYsLab
MrYsLab
authored and
MrYsLab
committed
Remove call to _update_coils in __init__
1 parent 93a9163 commit d88ed7d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

adafruit_motor/stepper.py

-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ def __init__(self, ain1, ain2, bin1, bin2, *, microsteps=16):
8686
self._microsteps = microsteps
8787
self._curve = [int(round(0xffff * math.sin(math.pi / (2 * microsteps) * i)))
8888
for i in range(microsteps + 1)]
89-
self._update_coils()
9089

9190
def _update_coils(self, *, microstepping=False):
9291
duty_cycles = [0, 0, 0, 0]

0 commit comments

Comments
 (0)