mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-31 14:12:52 +00:00
If needed, home before G34 (#19713)
This commit is contained in:
parent
7825fc63a0
commit
70dc2ee9bb
1 changed files with 2 additions and 1 deletions
|
@ -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