mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-18 23:49:49 +00:00
parent
91cf4eb977
commit
bf38ef23e5
1 changed files with 6 additions and 1 deletions
|
@ -3072,7 +3072,12 @@ void Stepper::report_positions() {
|
|||
#else
|
||||
#define CYCLES_EATEN_BABYSTEP 0
|
||||
#endif
|
||||
|
||||
#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 a new issue