Ver código fonte

If needed, home before G34 (#19713)

Keith Bennett 3 anos atrás
pai
commit
00709017e2
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2
    1
      Marlin/src/gcode/calibrate/G34.cpp

+ 2
- 1
Marlin/src/gcode/calibrate/G34.cpp Ver arquivo

@@ -38,7 +38,8 @@
38 38
 
39 39
 void GcodeSuite::G34() {
40 40
 
41
-  if (homing_needed()) return;
41
+  // Home before the alignment procedure
42
+  if (!all_axes_known()) home_all_axes();
42 43
 
43 44
   SET_SOFT_ENDSTOP_LOOSE(true);
44 45
   TEMPORARY_BED_LEVELING_STATE(false);

Carregando…
Cancelar
Salvar