浏览代码

Fix stepper timing bug

Scott Lahteine 6 年前
父节点
当前提交
6572848d7f
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      Marlin/src/module/stepper.h

+ 3
- 3
Marlin/src/module/stepper.h 查看文件

@@ -109,21 +109,21 @@
109 109
 #endif
110 110
 
111 111
 // Add time for each stepper
112
-#ifdef HAS_X_STEP
112
+#if HAS_X_STEP
113 113
   #define ISR_START_X_STEPPER_CYCLES ISR_START_STEPPER_CYCLES
114 114
   #define ISR_X_STEPPER_CYCLES       ISR_STEPPER_CYCLES
115 115
 #else
116 116
   #define ISR_START_X_STEPPER_CYCLES 0UL
117 117
   #define ISR_X_STEPPER_CYCLES       0UL
118 118
 #endif
119
-#ifdef HAS_Y_STEP
119
+#if HAS_Y_STEP
120 120
   #define ISR_START_Y_STEPPER_CYCLES ISR_START_STEPPER_CYCLES
121 121
   #define ISR_Y_STEPPER_CYCLES       ISR_STEPPER_CYCLES
122 122
 #else
123 123
   #define ISR_START_Y_STEPPER_CYCLES 0UL
124 124
   #define ISR_Y_STEPPER_CYCLES       0UL
125 125
 #endif
126
-#ifdef HAS_Z_STEP
126
+#if HAS_Z_STEP
127 127
   #define ISR_START_Z_STEPPER_CYCLES ISR_START_STEPPER_CYCLES
128 128
   #define ISR_Z_STEPPER_CYCLES       ISR_STEPPER_CYCLES
129 129
 #else

正在加载...
取消
保存