Abort arc on planner hard stop
This commit is contained in:
parent
bb33c76d2b
commit
0b23ccdee9
@ -150,6 +150,9 @@ void mc_arc(float* position, float* target, float* offset, float feed_rate, floa
|
||||
clamp_to_software_endstops(position);
|
||||
// Insert the segment into the buffer
|
||||
plan_buffer_line(position[X_AXIS], position[Y_AXIS], position[Z_AXIS], position[E_AXIS], feed_rate, extruder, position);
|
||||
// Handle the situation where the planner is aborted hard.
|
||||
if (waiting_inside_plan_buffer_line_print_aborted)
|
||||
return;
|
||||
}
|
||||
}
|
||||
// Clamp to the target position.
|
||||
|
Loading…
Reference in New Issue
Block a user