From 54850e15a1c0502ba422059cfbfeceb7d76caba8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6hlke?= Date: Tue, 7 Nov 2023 21:30:46 +0000 Subject: [PATCH] fixed E1101 (no-member) --- 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 0a53f72..efb66cd 100644 --- a/src/TMC_2209/TMC_2209_StepperDriver.py +++ b/src/TMC_2209/TMC_2209_StepperDriver.py @@ -535,7 +535,7 @@ def reverse_direction_pin(self): reverses the motor shaft direction """ self._direction = not self._direction - GPIO.output(self._pin_dir, self.direction) + GPIO.output(self._pin_dir, self._direction)