corrected speed calculation in planner (untested on hardware)
This commit is contained in:
parent
fb5db05b6d
commit
fc1c1b7e09
2 changed files with 16 additions and 20 deletions
|
|
@ -101,7 +101,7 @@ inline void trapezoid_generator_tick() {
|
|||
// rounding errors that might leave steps hanging after the last trapezoid tick.
|
||||
if(current_block->rate_delta < trapezoid_adjusted_rate) {
|
||||
trapezoid_adjusted_rate -= current_block->rate_delta;
|
||||
}
|
||||
}
|
||||
set_step_events_per_minute(trapezoid_adjusted_rate);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue