If needed, home before G34 (#19713)
This commit is contained in:
parent
b7d9b05952
commit
00709017e2
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue