Fix DELTA pulse wait bug (#14028)
This commit is contained in:
parent
7ccbcf2eaa
commit
06f3273531
1 changed files with 2 additions and 2 deletions
|
@ -2327,10 +2327,10 @@ void Stepper::report_positions() {
|
||||||
#define _SAVE_START NOOP
|
#define _SAVE_START NOOP
|
||||||
#if EXTRA_CYCLES_BABYSTEP > 0
|
#if EXTRA_CYCLES_BABYSTEP > 0
|
||||||
#define _PULSE_WAIT DELAY_NS(EXTRA_CYCLES_BABYSTEP * NANOSECONDS_PER_CYCLE)
|
#define _PULSE_WAIT DELAY_NS(EXTRA_CYCLES_BABYSTEP * NANOSECONDS_PER_CYCLE)
|
||||||
#elif STEP_PULSE_CYCLES > 0
|
|
||||||
#define _PULSE_WAIT NOOP
|
|
||||||
#elif ENABLED(DELTA)
|
#elif ENABLED(DELTA)
|
||||||
#define _PULSE_WAIT DELAY_US(2);
|
#define _PULSE_WAIT DELAY_US(2);
|
||||||
|
#elif STEP_PULSE_CYCLES > 0
|
||||||
|
#define _PULSE_WAIT NOOP
|
||||||
#else
|
#else
|
||||||
#define _PULSE_WAIT DELAY_US(4);
|
#define _PULSE_WAIT DELAY_US(4);
|
||||||
#endif
|
#endif
|
||||||
|
|
Reference in a new issue