Browse Source

Fix up microsteps conditionals

Scott Lahteine 6 years ago
parent
commit
1b8973eb1c
1 changed files with 5 additions and 2 deletions
  1. 5
    2
      Marlin/src/inc/Conditionals_post.h

+ 5
- 2
Marlin/src/inc/Conditionals_post.h View File

657
 #define HAS_X2_ENABLE     (PIN_EXISTS(X2_ENABLE))
657
 #define HAS_X2_ENABLE     (PIN_EXISTS(X2_ENABLE))
658
 #define HAS_X2_DIR        (PIN_EXISTS(X2_DIR))
658
 #define HAS_X2_DIR        (PIN_EXISTS(X2_DIR))
659
 #define HAS_X2_STEP       (PIN_EXISTS(X2_STEP))
659
 #define HAS_X2_STEP       (PIN_EXISTS(X2_STEP))
660
-#define HAS_Y_MICROSTEPS  (PIN_EXISTS(Y_MS1))
660
+#define HAS_X2_MICROSTEPS (PIN_EXISTS(X2_MS1))
661
 
661
 
662
 #define HAS_Y_ENABLE      (PIN_EXISTS(Y_ENABLE))
662
 #define HAS_Y_ENABLE      (PIN_EXISTS(Y_ENABLE))
663
 #define HAS_Y_DIR         (PIN_EXISTS(Y_DIR))
663
 #define HAS_Y_DIR         (PIN_EXISTS(Y_DIR))
664
 #define HAS_Y_STEP        (PIN_EXISTS(Y_STEP))
664
 #define HAS_Y_STEP        (PIN_EXISTS(Y_STEP))
665
-#define HAS_Z_MICROSTEPS  (PIN_EXISTS(Z_MS1))
665
+#define HAS_Y_MICROSTEPS  (PIN_EXISTS(Y_MS1))
666
 
666
 
667
 #define HAS_Y2_ENABLE     (PIN_EXISTS(Y2_ENABLE))
667
 #define HAS_Y2_ENABLE     (PIN_EXISTS(Y2_ENABLE))
668
 #define HAS_Y2_DIR        (PIN_EXISTS(Y2_DIR))
668
 #define HAS_Y2_DIR        (PIN_EXISTS(Y2_DIR))
669
 #define HAS_Y2_STEP       (PIN_EXISTS(Y2_STEP))
669
 #define HAS_Y2_STEP       (PIN_EXISTS(Y2_STEP))
670
+#define HAS_Y2_MICROSTEPS (PIN_EXISTS(Y2_MS1))
670
 
671
 
671
 #define HAS_Z_ENABLE      (PIN_EXISTS(Z_ENABLE))
672
 #define HAS_Z_ENABLE      (PIN_EXISTS(Z_ENABLE))
672
 #define HAS_Z_DIR         (PIN_EXISTS(Z_DIR))
673
 #define HAS_Z_DIR         (PIN_EXISTS(Z_DIR))
673
 #define HAS_Z_STEP        (PIN_EXISTS(Z_STEP))
674
 #define HAS_Z_STEP        (PIN_EXISTS(Z_STEP))
675
+#define HAS_Z_MICROSTEPS  (PIN_EXISTS(Z_MS1))
674
 
676
 
675
 #define HAS_Z2_ENABLE     (PIN_EXISTS(Z2_ENABLE))
677
 #define HAS_Z2_ENABLE     (PIN_EXISTS(Z2_ENABLE))
676
 #define HAS_Z2_DIR        (PIN_EXISTS(Z2_DIR))
678
 #define HAS_Z2_DIR        (PIN_EXISTS(Z2_DIR))
677
 #define HAS_Z2_STEP       (PIN_EXISTS(Z2_STEP))
679
 #define HAS_Z2_STEP       (PIN_EXISTS(Z2_STEP))
680
+#define HAS_Z2_MICROSTEPS (PIN_EXISTS(Z2_MS1))
678
 
681
 
679
 // Extruder steppers and solenoids
682
 // Extruder steppers and solenoids
680
 #define HAS_E0_ENABLE     (PIN_EXISTS(E0_ENABLE))
683
 #define HAS_E0_ENABLE     (PIN_EXISTS(E0_ENABLE))

Loading…
Cancel
Save