From b29b66fedab7c277cae13480563309769e9d57e1 Mon Sep 17 00:00:00 2001 From: Christopher Pepper Date: Sat, 26 Aug 2017 21:35:44 +0100 Subject: [PATCH] Temporary fix for odd stepper behaviour with servos --- Marlin/stepper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index e95ffa3cb1..8b12dbc842 100644 --- a/Marlin/stepper.cpp +++ b/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;