Browse Source

Fix stepper timing bug

pull/1/head
Scott Lahteine 6 years ago
parent
commit
6572848d7f
  1. 6
      Marlin/src/module/stepper.h

6
Marlin/src/module/stepper.h

@ -109,21 +109,21 @@
#endif #endif
// Add time for each stepper // Add time for each stepper
#ifdef HAS_X_STEP #if HAS_X_STEP
#define ISR_START_X_STEPPER_CYCLES ISR_START_STEPPER_CYCLES #define ISR_START_X_STEPPER_CYCLES ISR_START_STEPPER_CYCLES
#define ISR_X_STEPPER_CYCLES ISR_STEPPER_CYCLES #define ISR_X_STEPPER_CYCLES ISR_STEPPER_CYCLES
#else #else
#define ISR_START_X_STEPPER_CYCLES 0UL #define ISR_START_X_STEPPER_CYCLES 0UL
#define ISR_X_STEPPER_CYCLES 0UL #define ISR_X_STEPPER_CYCLES 0UL
#endif #endif
#ifdef HAS_Y_STEP #if HAS_Y_STEP
#define ISR_START_Y_STEPPER_CYCLES ISR_START_STEPPER_CYCLES #define ISR_START_Y_STEPPER_CYCLES ISR_START_STEPPER_CYCLES
#define ISR_Y_STEPPER_CYCLES ISR_STEPPER_CYCLES #define ISR_Y_STEPPER_CYCLES ISR_STEPPER_CYCLES
#else #else
#define ISR_START_Y_STEPPER_CYCLES 0UL #define ISR_START_Y_STEPPER_CYCLES 0UL
#define ISR_Y_STEPPER_CYCLES 0UL #define ISR_Y_STEPPER_CYCLES 0UL
#endif #endif
#ifdef HAS_Z_STEP #if HAS_Z_STEP
#define ISR_START_Z_STEPPER_CYCLES ISR_START_STEPPER_CYCLES #define ISR_START_Z_STEPPER_CYCLES ISR_START_STEPPER_CYCLES
#define ISR_Z_STEPPER_CYCLES ISR_STEPPER_CYCLES #define ISR_Z_STEPPER_CYCLES ISR_STEPPER_CYCLES
#else #else

Loading…
Cancel
Save