1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 12:04:19 +00:00

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 11:59:56 -05:00
parent 382aa96870
commit 3ca3268241

View File

@ -42,7 +42,7 @@
#include <SPI.h>
#include <TMC26XStepper.h>
#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);