X_DUAL_STEPPER_DRIVERS implementation
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
#define X_ENABLE_READ READ(X_ENABLE_PIN)
|
||||
|
||||
// X2 motor
|
||||
#if ENABLED(DUAL_X_CARRIAGE)
|
||||
#if HAS_X2_ENABLE
|
||||
#define X2_STEP_INIT SET_OUTPUT(X2_STEP_PIN)
|
||||
#define X2_STEP_WRITE(STATE) WRITE(X2_STEP_PIN,STATE)
|
||||
#define X2_STEP_READ READ(X2_STEP_PIN)
|
||||
@@ -88,7 +88,7 @@
|
||||
#define Y_ENABLE_READ READ(Y_ENABLE_PIN)
|
||||
|
||||
// Y2 motor
|
||||
#if ENABLED(Y_DUAL_STEPPER_DRIVERS)
|
||||
#if HAS_Y2_ENABLE
|
||||
#define Y2_STEP_INIT SET_OUTPUT(Y2_STEP_PIN)
|
||||
#define Y2_STEP_WRITE(STATE) WRITE(Y2_STEP_PIN,STATE)
|
||||
#define Y2_STEP_READ READ(Y2_STEP_PIN)
|
||||
@@ -116,7 +116,7 @@
|
||||
#define Z_ENABLE_READ READ(Z_ENABLE_PIN)
|
||||
|
||||
// Z2 motor
|
||||
#if ENABLED(Z_DUAL_STEPPER_DRIVERS)
|
||||
#if HAS_Z2_ENABLE
|
||||
#define Z2_STEP_INIT SET_OUTPUT(Z2_STEP_PIN)
|
||||
#define Z2_STEP_WRITE(STATE) WRITE(Z2_STEP_PIN,STATE)
|
||||
#define Z2_STEP_READ READ(Z2_STEP_PIN)
|
||||
|
Reference in New Issue
Block a user