If needed, home before G34 (#19713)

This commit is contained in:
Keith Bennett 2020-10-13 16:13:25 -07:00 committed by Scott Lahteine
parent 7825fc63a0
commit 70dc2ee9bb

View File

@ -38,7 +38,8 @@
void GcodeSuite::G34() { void GcodeSuite::G34() {
if (homing_needed()) return; // Home before the alignment procedure
if (!all_axes_known()) home_all_axes();
SET_SOFT_ENDSTOP_LOOSE(true); SET_SOFT_ENDSTOP_LOOSE(true);
TEMPORARY_BED_LEVELING_STATE(false); TEMPORARY_BED_LEVELING_STATE(false);