Skip to content

Commit

Permalink
Revert change to AXIS_DRIVER_TYPE_X2
Browse files Browse the repository at this point in the history
- Revisit this to figure out why it breaks
  • Loading branch information
thinkyhead committed Feb 10, 2020
1 parent 10b4fa9 commit 28b48fc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Marlin/src/core/drivers.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,7 @@
#define AXIS_DRIVER_TYPE_Y(T) _AXIS_DRIVER_TYPE(Y,T)
#define AXIS_DRIVER_TYPE_Z(T) _AXIS_DRIVER_TYPE(Z,T)

#if EITHER(X_DUAL_STEPPER_DRIVERS, DUAL_X_CARRIAGE)
#define AXIS_DRIVER_TYPE_X2(T) _AXIS_DRIVER_TYPE(X2,T)
#else
#define AXIS_DRIVER_TYPE_X2(T) false
#endif
#define AXIS_DRIVER_TYPE_X2(T) (EITHER(X_DUAL_STEPPER_DRIVERS, DUAL_X_CARRIAGE) && _AXIS_DRIVER_TYPE(X2,T))
#define AXIS_DRIVER_TYPE_Y2(T) (ENABLED(Y_DUAL_STEPPER_DRIVERS) && _AXIS_DRIVER_TYPE(Y2,T))
#define AXIS_DRIVER_TYPE_Z2(T) (NUM_Z_STEPPER_DRIVERS >= 2 && _AXIS_DRIVER_TYPE(Z2,T))
#define AXIS_DRIVER_TYPE_Z3(T) (NUM_Z_STEPPER_DRIVERS >= 3 && _AXIS_DRIVER_TYPE(Z3,T))
Expand Down

0 comments on commit 28b48fc

Please sign in to comment.