1
0
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:
Keith Bennett 2020-10-13 16:13:25 -07:00 committed by GitHub
parent bf33b2f862
commit 64711e0d56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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