Tweak JD + Jerk limit
This commit is contained in:
parent
7664e552f1
commit
c2d66a5df0
|
@ -2497,9 +2497,9 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
|
||||||
previous_safe_speed = safe_speed;
|
previous_safe_speed = safe_speed;
|
||||||
|
|
||||||
#if HAS_JUNCTION_DEVIATION
|
#if HAS_JUNCTION_DEVIATION
|
||||||
vmax_junction_sqr = _MIN(vmax_junction_sqr, sq(vmax_junction));
|
NOMORE(vmax_junction_sqr, sq(vmax_junction)); // Throttle down to max speed
|
||||||
#else
|
#else
|
||||||
vmax_junction_sqr = sq(vmax_junction);
|
vmax_junction_sqr = sq(vmax_junction); // Go up or down to the new speed
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // Classic Jerk Limiting
|
#endif // Classic Jerk Limiting
|
||||||
|
|
Loading…
Reference in a new issue