|
722 | 722 | #endif
|
723 | 723 |
|
724 | 724 | // X2 auto-assignment will use up an E stepper, but not if it's chained
|
725 |
| -#if HAS_X2_STEPPER && !defined(X2_STEP_PIN) && !PIN_EXISTS(X2_CS_PIN) |
| 725 | +#if HAS_X2_STEPPER && !defined(X2_STEP_PIN) && !PIN_EXISTS(X2_CS) |
726 | 726 | #define Y2_E_INDEX INCREMENT(X2_E_INDEX)
|
727 | 727 | #else
|
728 | 728 | #define Y2_E_INDEX X2_E_INDEX
|
|
810 | 810 | #endif
|
811 | 811 |
|
812 | 812 | // Y2 auto-assignment will use up an E stepper, but not if it's chained
|
813 |
| -#if HAS_Y2_STEPPER && !defined(Y2_STEP_PIN) && !PIN_EXISTS(Y2_CS_PIN) |
| 813 | +#if HAS_Y2_STEPPER && !defined(Y2_STEP_PIN) && !PIN_EXISTS(Y2_CS) |
814 | 814 | #define Z2_E_INDEX INCREMENT(Y2_E_INDEX)
|
815 | 815 | #else
|
816 | 816 | #define Z2_E_INDEX Y2_E_INDEX
|
|
895 | 895 | #endif
|
896 | 896 |
|
897 | 897 | // Z2 auto-assignment will use up an E stepper, but not if it's chained
|
898 |
| -#if NUM_Z_STEPPERS >= 2 && !defined(Z2_STEP_PIN) && !PIN_EXISTS(Z2_CS_PIN) |
| 898 | +#if NUM_Z_STEPPERS >= 2 && !defined(Z2_STEP_PIN) && !PIN_EXISTS(Z2_CS) |
899 | 899 | #define Z3_E_INDEX INCREMENT(Z2_E_INDEX)
|
900 | 900 | #else
|
901 | 901 | #define Z3_E_INDEX Z2_E_INDEX
|
|
980 | 980 | #endif
|
981 | 981 |
|
982 | 982 | // Z3 auto-assignment will use up an E stepper, but not if it's chained
|
983 |
| -#if NUM_Z_STEPPERS >= 3 && !defined(Z3_STEP_PIN) && !PIN_EXISTS(Z3_CS_PIN) |
| 983 | +#if NUM_Z_STEPPERS >= 3 && !defined(Z3_STEP_PIN) && !PIN_EXISTS(Z3_CS) |
984 | 984 | #define Z4_E_INDEX INCREMENT(Z3_E_INDEX)
|
985 | 985 | #else
|
986 | 986 | #define Z4_E_INDEX Z3_E_INDEX
|
|
1065 | 1065 | #endif
|
1066 | 1066 |
|
1067 | 1067 | // Z4 auto-assignment will use up an E stepper, but not if it's chained
|
1068 |
| -#if NUM_Z_STEPPERS >= 4 && !defined(Z4_STEP_PIN) && !PIN_EXISTS(Z4_CS_PIN) |
| 1068 | +#if NUM_Z_STEPPERS >= 4 && !defined(Z4_STEP_PIN) && !PIN_EXISTS(Z4_CS) |
1069 | 1069 | #define I_E_INDEX INCREMENT(Z4_E_INDEX)
|
1070 | 1070 | #else
|
1071 | 1071 | #define I_E_INDEX Z4_E_INDEX
|
|
1150 | 1150 | #endif
|
1151 | 1151 |
|
1152 | 1152 | // I auto-assignment will use up an E stepper, but not if it's chained
|
1153 |
| -#if HAS_I_AXIS && !defined(I_STEP_PIN) && !PIN_EXISTS(I_CS_PIN) |
| 1153 | +#if HAS_I_AXIS && !defined(I_STEP_PIN) && !PIN_EXISTS(I_CS) |
1154 | 1154 | #define J_E_INDEX INCREMENT(I_E_INDEX)
|
1155 | 1155 | #else
|
1156 | 1156 | #define J_E_INDEX I_E_INDEX
|
|
1235 | 1235 | #endif
|
1236 | 1236 |
|
1237 | 1237 | // J auto-assignment will use up an E stepper, but not if it's chained
|
1238 |
| -#if HAS_J_AXIS && !defined(J_STEP_PIN) && !PIN_EXISTS(J_CS_PIN) |
| 1238 | +#if HAS_J_AXIS && !defined(J_STEP_PIN) && !PIN_EXISTS(J_CS) |
1239 | 1239 | #define K_E_INDEX INCREMENT(J_E_INDEX)
|
1240 | 1240 | #else
|
1241 | 1241 | #define K_E_INDEX J_E_INDEX
|
|
1320 | 1320 | #endif
|
1321 | 1321 |
|
1322 | 1322 | // K auto-assignment will use up an E stepper, but not if it's chained
|
1323 |
| -#if HAS_K_AXIS && !defined(K_STEP_PIN) && !PIN_EXISTS(K_CS_PIN) |
| 1323 | +#if HAS_K_AXIS && !defined(K_STEP_PIN) && !PIN_EXISTS(K_CS) |
1324 | 1324 | #define U_E_INDEX INCREMENT(K_E_INDEX)
|
1325 | 1325 | #else
|
1326 | 1326 | #define U_E_INDEX K_E_INDEX
|
|
1405 | 1405 | #endif
|
1406 | 1406 |
|
1407 | 1407 | // U auto-assignment will use up an E stepper, but not if it's chained
|
1408 |
| -#if HAS_U_AXIS && !defined(U_STEP_PIN) && !PIN_EXISTS(U_CS_PIN) |
| 1408 | +#if HAS_U_AXIS && !defined(U_STEP_PIN) && !PIN_EXISTS(U_CS) |
1409 | 1409 | #define V_E_INDEX INCREMENT(U_E_INDEX)
|
1410 | 1410 | #else
|
1411 | 1411 | #define V_E_INDEX U_E_INDEX
|
|
1490 | 1490 | #endif
|
1491 | 1491 |
|
1492 | 1492 | // V auto-assignment will use up an E stepper, but not if it's chained
|
1493 |
| -#if HAS_V_AXIS && !defined(V_STEP_PIN) && !PIN_EXISTS(V_CS_PIN) |
| 1493 | +#if HAS_V_AXIS && !defined(V_STEP_PIN) && !PIN_EXISTS(V_CS) |
1494 | 1494 | #define W_E_INDEX INCREMENT(V_E_INDEX)
|
1495 | 1495 | #else
|
1496 | 1496 | #define W_E_INDEX V_E_INDEX
|
|
0 commit comments