FEEDRATE_LIMIT fix
This commit is contained in:
parent
f9f718e787
commit
68a5a4b74e
1 changed files with 3 additions and 0 deletions
|
@ -971,6 +971,9 @@ Having the real displacement of the head, we can calculate the total movement le
|
|||
}
|
||||
if(fabs(current_speed[i]) > max_fr)
|
||||
speed_factor = min(speed_factor, max_fr / fabs(current_speed[i]));
|
||||
#else //FEEDRATE_LIMIT
|
||||
if(fabs(current_speed[i]) > max_feedrate[i])
|
||||
speed_factor = min(speed_factor, max_feedrate[i] / fabs(current_speed[i]));
|
||||
#endif //FEEDRATE_LIMIT
|
||||
#else //TMC2130
|
||||
if(fabs(current_speed[i]) > max_feedrate[i])
|
||||
|
|
Loading…
Reference in a new issue