️ 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

@ -39,7 +39,7 @@
void GcodeSuite::G34() {
// Home before the alignment procedure
if (!all_axes_trusted()) home_all_axes();
home_if_needed();
TERN_(HAS_LEVELING, TEMPORARY_BED_LEVELING_STATE(false));

View File

@ -167,7 +167,7 @@ void GcodeSuite::G34() {
));
// Home before the alignment procedure
if (!all_axes_trusted()) home_all_axes();
home_if_needed();
// Move the Z coordinate realm towards the positive - dirty trick
current_position.z += z_probe * 0.5f;