Skip to content

Commit e4621de

Browse files
committed
Revert "Merge pull request #960 from Paciente8159/itp-hold-recalc-bug-fix"
This reverts commit 69526c1, reversing changes made to b608bc9.
1 parent 69526c1 commit e4621de

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

uCNC/src/core/interpolator.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,8 +473,7 @@ void itp_run(void)
473473
deaccel_from = remaining_steps;
474474
itp_needs_update = true;
475475
}
476-
477-
if (itp_needs_update) // forces recalculation of acceleration and deacceleration profiles
476+
else if (itp_needs_update) // forces recalculation of acceleration and deacceleration profiles
478477
{
479478
itp_needs_update = false;
480479
float exit_speed_sqr = planner_get_block_exit_speed_sqr();

0 commit comments

Comments
 (0)