Browse Source

Apply soft limits to joystick jogging (#17114)

Jamie 4 years ago
parent
commit
23c5701178
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Marlin/src/feature/joystick.cpp

+ 1
- 0
Marlin/src/feature/joystick.cpp View File

173
 
173
 
174
     if (!UNEAR_ZERO(hypot2)) {
174
     if (!UNEAR_ZERO(hypot2)) {
175
       current_position += move_dist;
175
       current_position += move_dist;
176
+      apply_motion_limits(current_position);
176
       const float length = sqrt(hypot2);
177
       const float length = sqrt(hypot2);
177
       injecting_now = true;
178
       injecting_now = true;
178
       planner.buffer_line(current_position, length / seg_time, active_extruder, length);
179
       planner.buffer_line(current_position, length / seg_time, active_extruder, length);

Loading…
Cancel
Save