mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 13:56:24 +00:00
If needed, home before G34 (#19713)
This commit is contained in:
parent
bf33b2f862
commit
64711e0d56
@ -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 New Issue
Block a user