|
|
|
@ -851,9 +851,9 @@ void Stepper::isr() {
|
|
|
|
|
|
|
|
|
|
// For minimum pulse time wait before looping
|
|
|
|
|
#if EXTRA_CYCLES_E > 20
|
|
|
|
|
while (EXTRA_CYCLES_E > (hal_timer_t)(HAL_timer_get_count(PULSE_TIMER_NUM) - pulse_start) * (PULSE_TIMER_PRESCALE)) { /* nada */ }
|
|
|
|
|
if (e_steps) 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
|
|
|
|
|
DELAY_NOPS(EXTRA_CYCLES_E);
|
|
|
|
|
if (e_steps) DELAY_NOPS(EXTRA_CYCLES_E);
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
} // e_steps
|
|
|
|
|