Browse Source

Fix the TMC26X initializer CS pin argument

From #10531

Co-Authored-By: chriscg9 <chriscg9@users.noreply.github.com>
pull/1/head
Scott Lahteine 7 years ago
parent
commit
1dab44213a
  1. 2
      Marlin/src/module/stepper_indirection.cpp

2
Marlin/src/module/stepper_indirection.cpp

@ -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