1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-29 23:07:42 +00:00

🩹 Fix PINS_EXIST usage

This commit is contained in:
Scott Lahteine 2024-07-13 23:39:27 -05:00
parent ce796cec97
commit b8ab2d4987

View File

@ -722,7 +722,7 @@
#endif #endif
// X2 auto-assignment will use up an E stepper, but not if it's chained // X2 auto-assignment will use up an E stepper, but not if it's chained
#if HAS_X2_STEPPER && !defined(X2_STEP_PIN) && !PIN_EXISTS(X2_CS_PIN) #if HAS_X2_STEPPER && !defined(X2_STEP_PIN) && !PIN_EXISTS(X2_CS)
#define Y2_E_INDEX INCREMENT(X2_E_INDEX) #define Y2_E_INDEX INCREMENT(X2_E_INDEX)
#else #else
#define Y2_E_INDEX X2_E_INDEX #define Y2_E_INDEX X2_E_INDEX
@ -810,7 +810,7 @@
#endif #endif
// Y2 auto-assignment will use up an E stepper, but not if it's chained // Y2 auto-assignment will use up an E stepper, but not if it's chained
#if HAS_Y2_STEPPER && !defined(Y2_STEP_PIN) && !PIN_EXISTS(Y2_CS_PIN) #if HAS_Y2_STEPPER && !defined(Y2_STEP_PIN) && !PIN_EXISTS(Y2_CS)
#define Z2_E_INDEX INCREMENT(Y2_E_INDEX) #define Z2_E_INDEX INCREMENT(Y2_E_INDEX)
#else #else
#define Z2_E_INDEX Y2_E_INDEX #define Z2_E_INDEX Y2_E_INDEX
@ -895,7 +895,7 @@
#endif #endif
// Z2 auto-assignment will use up an E stepper, but not if it's chained // Z2 auto-assignment will use up an E stepper, but not if it's chained
#if NUM_Z_STEPPERS >= 2 && !defined(Z2_STEP_PIN) && !PIN_EXISTS(Z2_CS_PIN) #if NUM_Z_STEPPERS >= 2 && !defined(Z2_STEP_PIN) && !PIN_EXISTS(Z2_CS)
#define Z3_E_INDEX INCREMENT(Z2_E_INDEX) #define Z3_E_INDEX INCREMENT(Z2_E_INDEX)
#else #else
#define Z3_E_INDEX Z2_E_INDEX #define Z3_E_INDEX Z2_E_INDEX
@ -980,7 +980,7 @@
#endif #endif
// Z3 auto-assignment will use up an E stepper, but not if it's chained // Z3 auto-assignment will use up an E stepper, but not if it's chained
#if NUM_Z_STEPPERS >= 3 && !defined(Z3_STEP_PIN) && !PIN_EXISTS(Z3_CS_PIN) #if NUM_Z_STEPPERS >= 3 && !defined(Z3_STEP_PIN) && !PIN_EXISTS(Z3_CS)
#define Z4_E_INDEX INCREMENT(Z3_E_INDEX) #define Z4_E_INDEX INCREMENT(Z3_E_INDEX)
#else #else
#define Z4_E_INDEX Z3_E_INDEX #define Z4_E_INDEX Z3_E_INDEX
@ -1065,7 +1065,7 @@
#endif #endif
// Z4 auto-assignment will use up an E stepper, but not if it's chained // Z4 auto-assignment will use up an E stepper, but not if it's chained
#if NUM_Z_STEPPERS >= 4 && !defined(Z4_STEP_PIN) && !PIN_EXISTS(Z4_CS_PIN) #if NUM_Z_STEPPERS >= 4 && !defined(Z4_STEP_PIN) && !PIN_EXISTS(Z4_CS)
#define I_E_INDEX INCREMENT(Z4_E_INDEX) #define I_E_INDEX INCREMENT(Z4_E_INDEX)
#else #else
#define I_E_INDEX Z4_E_INDEX #define I_E_INDEX Z4_E_INDEX
@ -1150,7 +1150,7 @@
#endif #endif
// I auto-assignment will use up an E stepper, but not if it's chained // I auto-assignment will use up an E stepper, but not if it's chained
#if HAS_I_AXIS && !defined(I_STEP_PIN) && !PIN_EXISTS(I_CS_PIN) #if HAS_I_AXIS && !defined(I_STEP_PIN) && !PIN_EXISTS(I_CS)
#define J_E_INDEX INCREMENT(I_E_INDEX) #define J_E_INDEX INCREMENT(I_E_INDEX)
#else #else
#define J_E_INDEX I_E_INDEX #define J_E_INDEX I_E_INDEX
@ -1235,7 +1235,7 @@
#endif #endif
// J auto-assignment will use up an E stepper, but not if it's chained // J auto-assignment will use up an E stepper, but not if it's chained
#if HAS_J_AXIS && !defined(J_STEP_PIN) && !PIN_EXISTS(J_CS_PIN) #if HAS_J_AXIS && !defined(J_STEP_PIN) && !PIN_EXISTS(J_CS)
#define K_E_INDEX INCREMENT(J_E_INDEX) #define K_E_INDEX INCREMENT(J_E_INDEX)
#else #else
#define K_E_INDEX J_E_INDEX #define K_E_INDEX J_E_INDEX
@ -1320,7 +1320,7 @@
#endif #endif
// K auto-assignment will use up an E stepper, but not if it's chained // K auto-assignment will use up an E stepper, but not if it's chained
#if HAS_K_AXIS && !defined(K_STEP_PIN) && !PIN_EXISTS(K_CS_PIN) #if HAS_K_AXIS && !defined(K_STEP_PIN) && !PIN_EXISTS(K_CS)
#define U_E_INDEX INCREMENT(K_E_INDEX) #define U_E_INDEX INCREMENT(K_E_INDEX)
#else #else
#define U_E_INDEX K_E_INDEX #define U_E_INDEX K_E_INDEX
@ -1405,7 +1405,7 @@
#endif #endif
// U auto-assignment will use up an E stepper, but not if it's chained // U auto-assignment will use up an E stepper, but not if it's chained
#if HAS_U_AXIS && !defined(U_STEP_PIN) && !PIN_EXISTS(U_CS_PIN) #if HAS_U_AXIS && !defined(U_STEP_PIN) && !PIN_EXISTS(U_CS)
#define V_E_INDEX INCREMENT(U_E_INDEX) #define V_E_INDEX INCREMENT(U_E_INDEX)
#else #else
#define V_E_INDEX U_E_INDEX #define V_E_INDEX U_E_INDEX
@ -1490,7 +1490,7 @@
#endif #endif
// V auto-assignment will use up an E stepper, but not if it's chained // V auto-assignment will use up an E stepper, but not if it's chained
#if HAS_V_AXIS && !defined(V_STEP_PIN) && !PIN_EXISTS(V_CS_PIN) #if HAS_V_AXIS && !defined(V_STEP_PIN) && !PIN_EXISTS(V_CS)
#define W_E_INDEX INCREMENT(V_E_INDEX) #define W_E_INDEX INCREMENT(V_E_INDEX)
#else #else
#define W_E_INDEX V_E_INDEX #define W_E_INDEX V_E_INDEX