From cc63d5f5c8af76558d0c6e42fad5a7dbf6c4d7a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6hlke?= Date: Tue, 7 Nov 2023 21:56:17 +0000 Subject: [PATCH] fixed W0612 (unused-variable) --- src/TMC_2209/TMC_2209_StepperDriver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TMC_2209/TMC_2209_StepperDriver.py b/src/TMC_2209/TMC_2209_StepperDriver.py index 22f4adf..27a3b34 100644 --- a/src/TMC_2209/TMC_2209_StepperDriver.py +++ b/src/TMC_2209/TMC_2209_StepperDriver.py @@ -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)