Skip to content

Commit

Permalink
fixed Motor output active print
Browse files Browse the repository at this point in the history
  • Loading branch information
Chr157i4n committed Nov 7, 2023
1 parent c0fbcb9 commit ae01398
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 @@ -425,7 +425,7 @@ def set_motor_enabled(self, en):
enables or disables the motor current output
"""
GPIO.output(self._pin_en, not en)
self.log("Motor output active: {en}", Loglevel.INFO.value)
self.log(f"Motor output active: {en}", Loglevel.INFO.value)



Expand Down

0 comments on commit ae01398

Please sign in to comment.