Temporary fix for odd stepper behaviour with servos
This commit is contained in:
parent
8afe13b1a2
commit
b29b66feda
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ void Stepper::isr() {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define _SPLIT(L) (ocr_val = (HAL_TIMER_TYPE)L)
|
#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)
|
#define SPLIT(L) _SPLIT(L)
|
||||||
#else // sample endstops in between step pulses
|
#else // sample endstops in between step pulses
|
||||||
static uint32_t step_remaining = 0;
|
static uint32_t step_remaining = 0;
|
||||||
|
|
Reference in a new issue