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); 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