Apply soft limits to joystick jogging (#17114)

This commit is contained in:
Jamie 2020-03-10 22:59:49 -05:00 committed by GitHub
parent eb6c992bfb
commit 23c5701178
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);