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:
parent
d951ba83e6
commit
b19846aca1
3 changed files with 7 additions and 2 deletions
|
|
@ -1719,6 +1719,7 @@ static void setup_for_endstop_or_probe_move() {
|
|||
saved_feedrate_percentage = feedrate_percentage;
|
||||
feedrate_percentage = 100;
|
||||
refresh_cmd_timeout();
|
||||
planner.split_first_move = false;
|
||||
}
|
||||
|
||||
static void clean_up_after_endstop_or_probe_move() {
|
||||
|
|
@ -1728,6 +1729,7 @@ static void clean_up_after_endstop_or_probe_move() {
|
|||
feedrate_mm_s = saved_feedrate_mm_s;
|
||||
feedrate_percentage = saved_feedrate_percentage;
|
||||
refresh_cmd_timeout();
|
||||
planner.split_first_move = true;
|
||||
}
|
||||
|
||||
#if HAS_BED_PROBE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue