1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 22:08:02 +00:00

Temporary fix for odd stepper behaviour with servos

This commit is contained in:
Christopher Pepper 2017-08-26 21:35:44 +01:00 committed by Scott Lahteine
parent 8afe13b1a2
commit b29b66feda

View File

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