Don't split first_move while homing or probing

While homing or probing it might be bad if the stop/trobe triggers during the first part and the second is still in the buffer.
This commit is contained in:
AnHardt
2017-12-06 14:08:49 +01:00
parent aeb5c623c1
commit a993c5227d
3 changed files with 7 additions and 2 deletions

View File

@ -426,11 +426,13 @@ void bracket_probe_move(const bool before) {
saved_feedrate_percentage = feedrate_percentage;
feedrate_percentage = 100;
gcode.refresh_cmd_timeout();
planner.split_first_move = false;
}
else {
feedrate_mm_s = saved_feedrate_mm_s;
feedrate_percentage = saved_feedrate_percentage;
gcode.refresh_cmd_timeout();
planner.split_first_move = true;
}
}