Apply soft limits to joystick jogging (#17114)

2.0.x
Jamie 5 years ago committed by GitHub
parent eb6c992bfb
commit 23c5701178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -173,6 +173,7 @@ Joystick joystick;
if (!UNEAR_ZERO(hypot2)) { if (!UNEAR_ZERO(hypot2)) {
current_position += move_dist; current_position += move_dist;
apply_motion_limits(current_position);
const float length = sqrt(hypot2); const float length = sqrt(hypot2);
injecting_now = true; injecting_now = true;
planner.buffer_line(current_position, length / seg_time, active_extruder, length); planner.buffer_line(current_position, length / seg_time, active_extruder, length);

Loading…
Cancel
Save