Explorar el Código

If needed, home before G34 (#19713)

Keith Bennett hace 3 años
padre
commit
00709017e2
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      Marlin/src/gcode/calibrate/G34.cpp

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

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

Loading…
Cancelar
Guardar