Pārlūkot izejas kodu

If needed, home before G34 (#19713)

Keith Bennett 3 gadus atpakaļ
vecāks
revīzija
00709017e2
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2
    1
      Marlin/src/gcode/calibrate/G34.cpp

+ 2
- 1
Marlin/src/gcode/calibrate/G34.cpp Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt