Fix the TMC26X initializer CS pin argument

From #10531

Co-Authored-By: chriscg9 <chriscg9@users.noreply.github.com>
2.0.x
Scott Lahteine 7 years ago
parent cd08f01bb4
commit 1dab44213a

@ -47,7 +47,7 @@
#include <TMC26XStepper.h>
#endif
#define _TMC26X_DEFINE(ST) TMC26XStepper stepper##ST(200, ST##_ENABLE_PIN, ST##_STEP_PIN, ST##_DIR_PIN, ST##_MAX_CURRENT, ST##_SENSE_RESISTOR)
#define _TMC26X_DEFINE(ST) TMC26XStepper stepper##ST(200, ST##_CS_PIN, ST##_STEP_PIN, ST##_DIR_PIN, ST##_MAX_CURRENT, ST##_SENSE_RESISTOR)
#if ENABLED(X_IS_TMC26X)
_TMC26X_DEFINE(X);

Loading…
Cancel
Save