️ 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

@ -91,8 +91,8 @@ void GcodeSuite::G35() {
// Disable duplication mode on homing
TERN_(HAS_DUPLICATION_MODE, set_duplication_enabled(false));
// Home all before this procedure
home_all_axes();
// Home only Z axis when X and Y is trusted, otherwise all axes, if needed before this procedure
if (!all_axes_trusted()) process_subcommands_now_P(PSTR("G28Z"));
bool err_break = false;