Fix TouchMI stow in G34 (#21291)

This commit is contained in:
Cal1sto 2021-03-10 21:37:22 +01:00 committed by GitHub
parent f147a8990a
commit 8c512191b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -410,9 +410,9 @@ void GcodeSuite::G34() {
SERIAL_ECHOLNPAIR_F("Accuracy: ", z_maxdiff);
}
// Stow the probe, as the last call to probe.probe_at_point(...) left
// the probe deployed if it was successful.
probe.stow();
// Stow the probe because the last call to probe.probe_at_point(...)
// leaves the probe deployed when it's successful.
IF_DISABLED(TOUCH_MI_PROBE, probe.stow());
#if ENABLED(HOME_AFTER_G34)
// After this operation the z position needs correction