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 thinkyhead committed Oct 16, 2020
1 parent b7d9b05 commit 0070901
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 0070901

Please sign in to comment.