Merge pull request #860 from PavelSindler/crash_det_issue
Crash detection/stop print erroneous movements hotfix
This commit is contained in:
commit
f365150e3a
@ -7317,6 +7317,7 @@ void clamp_to_software_endstops(float target[3])
|
||||
float de = e - current_position[E_AXIS];
|
||||
for (int i = 1; i < n_segments; ++ i) {
|
||||
float t = float(i) / float(n_segments);
|
||||
if (saved_printing || (mbl.active == false)) return;
|
||||
plan_buffer_line(
|
||||
current_position[X_AXIS] + t * dx,
|
||||
current_position[Y_AXIS] + t * dy,
|
||||
|
Loading…
Reference in New Issue
Block a user