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); SERIAL_ECHOLNPAIR_F("Accuracy: ", z_maxdiff);
} }
// Stow the probe, as the last call to probe.probe_at_point(...) left // Stow the probe because the last call to probe.probe_at_point(...)
// the probe deployed if it was successful. // leaves the probe deployed when it's successful.
probe.stow(); IF_DISABLED(TOUCH_MI_PROBE, probe.stow());
#if ENABLED(HOME_AFTER_G34) #if ENABLED(HOME_AFTER_G34)
// After this operation the z position needs correction // After this operation the z position needs correction