Fix the TMC26X initializer CS pin argument

From #10531

Co-Authored-By: chriscg9 <chriscg9@users.noreply.github.com>
This commit is contained in:
Scott Lahteine 2018-04-28 12:02:45 -05:00
parent cd08f01bb4
commit 1dab44213a

View file

@ -47,7 +47,7 @@
#include <TMC26XStepper.h> #include <TMC26XStepper.h>
#endif #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) #if ENABLED(X_IS_TMC26X)
_TMC26X_DEFINE(X); _TMC26X_DEFINE(X);