Fix TouchMI stow in G34 (#21291)

This commit is contained in:
Cal1sto 2021-03-10 21:37:22 +01:00 committed by Scott Lahteine
parent 242ef2b2b4
commit f332cca4a7

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