Skip to content

Commit

Permalink
fixed W0612 (unused-variable)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chr157i4n committed Nov 7, 2023
1 parent a4986bc commit cc63d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TMC_2209/TMC_2209_StepperDriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -1450,7 +1450,7 @@ def test_step(self):
"""
self.set_direction_pin(1)

for i in range(100):
for _ in range(100):
self._current_pos += 1
GPIO.output(self._pin_step, GPIO.HIGH)
time.sleep(0.001)
Expand Down

0 comments on commit cc63d5f

Please sign in to comment.