Fix the TMC26X initializer CS pin argument
From #10531 Co-Authored-By: chriscg9 <chriscg9@users.noreply.github.com>
This commit is contained in:
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…
Reference in New Issue
Block a user