|
@@ -461,6 +461,9 @@
|
461
|
461
|
#define X2_STEP_PIN _EPIN(E_STEPPERS, STEP)
|
462
|
462
|
#define X2_DIR_PIN _EPIN(E_STEPPERS, DIR)
|
463
|
463
|
#define X2_ENABLE_PIN _EPIN(E_STEPPERS, ENABLE)
|
|
464
|
+ #if X2_ENABLE_PIN == 0
|
|
465
|
+ #error "No E stepper plug left for X2!"
|
|
466
|
+ #endif
|
464
|
467
|
#endif
|
465
|
468
|
#undef _X2_PINS
|
466
|
469
|
#define _X2_PINS X2_STEP_PIN, X2_DIR_PIN, X2_ENABLE_PIN,
|
|
@@ -475,6 +478,9 @@
|
475
|
478
|
#define Y2_STEP_PIN _EPIN(Y2_E_INDEX, STEP)
|
476
|
479
|
#define Y2_DIR_PIN _EPIN(Y2_E_INDEX, DIR)
|
477
|
480
|
#define Y2_ENABLE_PIN _EPIN(Y2_E_INDEX, ENABLE)
|
|
481
|
+ #if Y2_ENABLE_PIN == 0
|
|
482
|
+ #error "No E stepper plug left for Y2!"
|
|
483
|
+ #endif
|
478
|
484
|
#endif
|
479
|
485
|
#undef _Y2_PINS
|
480
|
486
|
#define _Y2_PINS Y2_STEP_PIN, Y2_DIR_PIN, Y2_ENABLE_PIN,
|
|
@@ -489,6 +495,9 @@
|
489
|
495
|
#define Z2_STEP_PIN _EPIN(Z2_E_INDEX, STEP)
|
490
|
496
|
#define Z2_DIR_PIN _EPIN(Z2_E_INDEX, DIR)
|
491
|
497
|
#define Z2_ENABLE_PIN _EPIN(Z2_E_INDEX, ENABLE)
|
|
498
|
+ #if Z2_ENABLE_PIN == 0
|
|
499
|
+ #error "No E stepper plug left for Z2!"
|
|
500
|
+ #endif
|
492
|
501
|
#endif
|
493
|
502
|
#undef _Z2_PINS
|
494
|
503
|
#define _Z2_PINS Z2_STEP_PIN, Z2_DIR_PIN, Z2_ENABLE_PIN,
|