|
|
@ -1225,7 +1225,7 @@ |
|
|
|
//
|
|
|
|
// Auto-assign pins for stallGuard sensorless homing
|
|
|
|
//
|
|
|
|
#if X2_STALL_SENSITIVITY && ENABLED(X_DUAL_ENDSTOPS) && _PEXI(X2_E_INDEX, DIAG) |
|
|
|
#if defined(X2_STALL_SENSITIVITY) && ENABLED(X_DUAL_ENDSTOPS) && _PEXI(X2_E_INDEX, DIAG) |
|
|
|
#define X2_DIAG_PIN _EPIN(X2_E_INDEX, DIAG) |
|
|
|
#if DIAG_REMAPPED(X2, X_MIN) // If already remapped in the pins file...
|
|
|
|
#define X2_USE_ENDSTOP _XMIN_ |
|
|
@ -1294,7 +1294,7 @@ |
|
|
|
#define Y2_SERIAL_RX_PIN _EPIN(Y2_E_INDEX, SERIAL_RX) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#if Y2_STALL_SENSITIVITY && ENABLED(Y_DUAL_ENDSTOPS) && _PEXI(Y2_E_INDEX, DIAG) |
|
|
|
#if defined(Y2_STALL_SENSITIVITY) && ENABLED(Y_DUAL_ENDSTOPS) && _PEXI(Y2_E_INDEX, DIAG) |
|
|
|
#define Y2_DIAG_PIN _EPIN(Y2_E_INDEX, DIAG) |
|
|
|
#if DIAG_REMAPPED(Y2, X_MIN) |
|
|
|
#define Y2_USE_ENDSTOP _XMIN_ |
|
|
@ -1362,7 +1362,7 @@ |
|
|
|
#define Z2_SERIAL_RX_PIN _EPIN(Z2_E_INDEX, SERIAL_RX) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#if Z2_STALL_SENSITIVITY && ENABLED(Z_MULTI_ENDSTOPS) && NUM_Z_STEPPER_DRIVERS >= 2 && _PEXI(Z2_E_INDEX, DIAG) |
|
|
|
#if defined(Z2_STALL_SENSITIVITY) && ENABLED(Z_MULTI_ENDSTOPS) && NUM_Z_STEPPER_DRIVERS >= 2 && _PEXI(Z2_E_INDEX, DIAG) |
|
|
|
#define Z2_DIAG_PIN _EPIN(Z2_E_INDEX, DIAG) |
|
|
|
#if DIAG_REMAPPED(Z2, X_MIN) |
|
|
|
#define Z2_USE_ENDSTOP _XMIN_ |
|
|
@ -1431,7 +1431,7 @@ |
|
|
|
#define Z3_SERIAL_RX_PIN _EPIN(Z3_E_INDEX, SERIAL_RX) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#if Z3_STALL_SENSITIVITY && ENABLED(Z_MULTI_ENDSTOPS) && NUM_Z_STEPPER_DRIVERS >= 3 && _PEXI(Z3_E_INDEX, DIAG) |
|
|
|
#if defined(Z3_STALL_SENSITIVITY) && ENABLED(Z_MULTI_ENDSTOPS) && NUM_Z_STEPPER_DRIVERS >= 3 && _PEXI(Z3_E_INDEX, DIAG) |
|
|
|
#define Z3_DIAG_PIN _EPIN(Z3_E_INDEX, DIAG) |
|
|
|
#if DIAG_REMAPPED(Z3, X_MIN) |
|
|
|
#define Z3_USE_ENDSTOP _XMIN_ |
|
|
@ -1498,7 +1498,7 @@ |
|
|
|
#define Z4_SERIAL_RX_PIN _EPIN(Z4_E_INDEX, SERIAL_RX) |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#if Z4_STALL_SENSITIVITY && ENABLED(Z_MULTI_ENDSTOPS) && NUM_Z_STEPPER_DRIVERS >= 4 && _PEXI(Z4_E_INDEX, DIAG) |
|
|
|
#if defined(Z4_STALL_SENSITIVITY) && ENABLED(Z_MULTI_ENDSTOPS) && NUM_Z_STEPPER_DRIVERS >= 4 && _PEXI(Z4_E_INDEX, DIAG) |
|
|
|
#define Z4_DIAG_PIN _EPIN(Z4_E_INDEX, DIAG) |
|
|
|
#if DIAG_REMAPPED(Z4, X_MIN) |
|
|
|
#define Z4_USE_ENDSTOP _XMIN_ |
|
|
|