[bugfix_2.0.x] - LIN_ADVANCE V1.5 stepper.cpp (#9797)

Removal of obsolete (i) from port of LIN_ADVANCE from V1.1.x to V2..0.x.
2.0.x
UtterlyD 7 years ago committed by Scott Lahteine
parent 3f89bbeab5
commit 813f9f3082

@ -852,9 +852,9 @@ void Stepper::isr() {
// For minimum pulse time wait before looping
#if EXTRA_CYCLES_E > 20
if (i) while (EXTRA_CYCLES_E > (hal_timer_t)(HAL_timer_get_count(PULSE_TIMER_NUM) - pulse_start) * (PULSE_TIMER_PRESCALE)) { /* nada */ }
while (EXTRA_CYCLES_E > (hal_timer_t)(HAL_timer_get_count(PULSE_TIMER_NUM) - pulse_start) * (PULSE_TIMER_PRESCALE)) { /* nada */ }
#elif EXTRA_CYCLES_E > 0
if (i) DELAY_NOPS(EXTRA_CYCLES_E);
DELAY_NOPS(EXTRA_CYCLES_E);
#endif
} // steps_loop

Loading…
Cancel
Save