Fix interval calculation (thanks to BenJackson)
This commit is contained in:
parent
853a295762
commit
6ec0bada6c
1 changed files with 1 additions and 1 deletions
|
|
@ -798,7 +798,7 @@ void linear_move(unsigned long x_steps_remaining, unsigned long y_steps_remainin
|
|||
}
|
||||
acceleration_enabled = true;
|
||||
if(full_velocity_steps == 0) full_velocity_steps++;
|
||||
long full_interval = max(interval, max_interval - ((max_interval - full_interval) * full_velocity_steps / virtual_full_velocity_steps));
|
||||
long full_interval = interval;//max(interval, max_interval - ((max_interval - full_interval) * full_velocity_steps / virtual_full_velocity_steps));
|
||||
if(interval > max_interval) acceleration_enabled = false;
|
||||
unsigned long steps_done = 0;
|
||||
unsigned int steps_acceleration_check = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue