Browse Source

Temporary fix for odd stepper behaviour with servos

pull/1/head
Christopher Pepper 7 years ago
committed by Scott Lahteine
parent
commit
b29b66feda
  1. 2
      Marlin/stepper.cpp

2
Marlin/stepper.cpp

@ -330,7 +330,7 @@ void Stepper::isr() {
#endif
#define _SPLIT(L) (ocr_val = (HAL_TIMER_TYPE)L)
#if ENABLED(ENDSTOP_INTERRUPTS_FEATURE)
#if ENABLED(ENDSTOP_INTERRUPTS_FEATURE) || defined(CPU_32_BIT)
#define SPLIT(L) _SPLIT(L)
#else // sample endstops in between step pulses
static uint32_t step_remaining = 0;

Loading…
Cancel
Save