Apply soft limits to joystick jogging (#17114)
This commit is contained in:
parent
eb6c992bfb
commit
23c5701178
1 changed files with 1 additions and 0 deletions
|
@ -173,6 +173,7 @@ Joystick joystick;
|
|||
|
||||
if (!UNEAR_ZERO(hypot2)) {
|
||||
current_position += move_dist;
|
||||
apply_motion_limits(current_position);
|
||||
const float length = sqrt(hypot2);
|
||||
injecting_now = true;
|
||||
planner.buffer_line(current_position, length / seg_time, active_extruder, length);
|
||||
|
|
Reference in a new issue