parent
f6f31434b8
commit
99252cf0cd
@ -2979,7 +2979,12 @@ void Stepper::report_positions() {
|
||||
#else
|
||||
#define CYCLES_EATEN_BABYSTEP 0
|
||||
#endif
|
||||
#define EXTRA_CYCLES_BABYSTEP (STEP_PULSE_CYCLES - (CYCLES_EATEN_BABYSTEP))
|
||||
|
||||
#if CYCLES_EATEN_BABYSTEP < STEP_PULSE_CYCLES
|
||||
#define EXTRA_CYCLES_BABYSTEP (STEP_PULSE_CYCLES - (CYCLES_EATEN_BABYSTEP))
|
||||
#else
|
||||
#define EXTRA_CYCLES_BABYSTEP 0
|
||||
#endif
|
||||
|
||||
#if EXTRA_CYCLES_BABYSTEP > 20
|
||||
#define _SAVE_START() const hal_timer_t pulse_start = HAL_timer_get_count(MF_TIMER_PULSE)
|
||||
|
Loading…
Reference in New Issue
Block a user