Skip to content

Commit

Permalink
If needed, home before G34 (MarlinFirmware#19713)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiskeithb authored and Siarhei Pantsialei committed Oct 17, 2020
1 parent a226ea4 commit ae4c0c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Marlin/src/gcode/calibrate/G34.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@

void GcodeSuite::G34() {

if (homing_needed()) return;
// Home before the alignment procedure
if (!all_axes_known()) home_all_axes();

SET_SOFT_ENDSTOP_LOOSE(true);
TEMPORARY_BED_LEVELING_STATE(false);
Expand Down

0 comments on commit ae4c0c5

Please sign in to comment.