浏览代码

Fix up microsteps conditionals

Scott Lahteine 6 年前
父节点
当前提交
1b8973eb1c
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5
    2
      Marlin/src/inc/Conditionals_post.h

+ 5
- 2
Marlin/src/inc/Conditionals_post.h 查看文件

@@ -657,24 +657,27 @@
657 657
 #define HAS_X2_ENABLE     (PIN_EXISTS(X2_ENABLE))
658 658
 #define HAS_X2_DIR        (PIN_EXISTS(X2_DIR))
659 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 662
 #define HAS_Y_ENABLE      (PIN_EXISTS(Y_ENABLE))
663 663
 #define HAS_Y_DIR         (PIN_EXISTS(Y_DIR))
664 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 667
 #define HAS_Y2_ENABLE     (PIN_EXISTS(Y2_ENABLE))
668 668
 #define HAS_Y2_DIR        (PIN_EXISTS(Y2_DIR))
669 669
 #define HAS_Y2_STEP       (PIN_EXISTS(Y2_STEP))
670
+#define HAS_Y2_MICROSTEPS (PIN_EXISTS(Y2_MS1))
670 671
 
671 672
 #define HAS_Z_ENABLE      (PIN_EXISTS(Z_ENABLE))
672 673
 #define HAS_Z_DIR         (PIN_EXISTS(Z_DIR))
673 674
 #define HAS_Z_STEP        (PIN_EXISTS(Z_STEP))
675
+#define HAS_Z_MICROSTEPS  (PIN_EXISTS(Z_MS1))
674 676
 
675 677
 #define HAS_Z2_ENABLE     (PIN_EXISTS(Z2_ENABLE))
676 678
 #define HAS_Z2_DIR        (PIN_EXISTS(Z2_DIR))
677 679
 #define HAS_Z2_STEP       (PIN_EXISTS(Z2_STEP))
680
+#define HAS_Z2_MICROSTEPS (PIN_EXISTS(Z2_MS1))
678 681
 
679 682
 // Extruder steppers and solenoids
680 683
 #define HAS_E0_ENABLE     (PIN_EXISTS(E0_ENABLE))

正在加载...
取消
保存