From 813f9f308294cdddb28a958b56bf2b94889f58cc Mon Sep 17 00:00:00 2001 From: UtterlyD <35540980+UtterlyD@users.noreply.github.com> Date: Sat, 24 Feb 2018 22:37:23 +0000 Subject: [PATCH] [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. --- Marlin/src/module/stepper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/src/module/stepper.cpp b/Marlin/src/module/stepper.cpp index 9e7afe2c47..2eb5b57758 100644 --- a/Marlin/src/module/stepper.cpp +++ b/Marlin/src/module/stepper.cpp @@ -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