️ Home Z (and maybe XY) at the start of G35 (#22060)

This commit is contained in:
qwewer0
2021-06-14 23:52:42 +02:00
committed by Scott Lahteine
parent cdd9507493
commit dec083dcc1
6 changed files with 34 additions and 28 deletions

View File

@ -294,6 +294,10 @@ void report_current_position_projected() {
#endif
void home_if_needed(const bool keeplev/*=false*/) {
if (!all_axes_trusted()) gcode.home_all_axes(keeplev);
}
/**
* Run out the planner buffer and re-sync the current
* position from the last-updated stepper positions.