Browse Source

Fix stepper timing bug

Scott Lahteine 6 years ago
parent
commit
6572848d7f
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/src/module/stepper.h

+ 3
- 3
Marlin/src/module/stepper.h View File

@@ -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

Loading…
Cancel
Save