Browse Source

Temporary fix for odd stepper behaviour with servos

Christopher Pepper 8 years ago
parent
commit
b29b66feda
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/stepper.cpp

+ 1
- 1
Marlin/stepper.cpp View File

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

Loading…
Cancel
Save