Skip to content
Snippets Groups Projects
Commit 1dab4421 authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Fix the TMC26X initializer CS pin argument


From #10531

Co-Authored-By: default avatarchriscg9 <chriscg9@users.noreply.github.com>
parent cd08f01b
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment