Pārlūkot izejas kodu

Merge pull request #4412 from thinkyhead/rc_followup_4402

Followup #4402 fixing 3-point leveling
Scott Lahteine 8 gadus atpakaļ
vecāks
revīzija
8684570f68
1 mainītis faili ar 6 papildinājumiem un 6 dzēšanām
  1. 6
    6
      Marlin/Marlin_main.cpp

+ 6
- 6
Marlin/Marlin_main.cpp Parādīt failu

@@ -3637,14 +3637,14 @@ inline void gcode_G28() {
3637 3637
       #endif
3638 3638
 
3639 3639
       // Probe at 3 arbitrary points
3640
-      float z_at_pt_1 = probe_pt( LOGICAL_X_POSITION(ABL_PROBE_PT_1_X, X_AXIS),
3641
-                                  LOGICAL_Y_POSITION(ABL_PROBE_PT_1_Y, Y_AXIS),
3640
+      float z_at_pt_1 = probe_pt( LOGICAL_X_POSITION(ABL_PROBE_PT_1_X),
3641
+                                  LOGICAL_Y_POSITION(ABL_PROBE_PT_1_Y),
3642 3642
                                   stow_probe_after_each, verbose_level),
3643
-            z_at_pt_2 = probe_pt( LOGICAL_X_POSITION(ABL_PROBE_PT_2_X, X_AXIS),
3644
-                                  LOGICAL_Y_POSITION(ABL_PROBE_PT_2_Y, Y_AXIS),
3643
+            z_at_pt_2 = probe_pt( LOGICAL_X_POSITION(ABL_PROBE_PT_2_X),
3644
+                                  LOGICAL_Y_POSITION(ABL_PROBE_PT_2_Y),
3645 3645
                                   stow_probe_after_each, verbose_level),
3646
-            z_at_pt_3 = probe_pt( LOGICAL_X_POSITION(ABL_PROBE_PT_3_X, X_AXIS),
3647
-                                  LOGICAL_Y_POSITION(ABL_PROBE_PT_3_Y, Y_AXIS),
3646
+            z_at_pt_3 = probe_pt( LOGICAL_X_POSITION(ABL_PROBE_PT_3_X),
3647
+                                  LOGICAL_Y_POSITION(ABL_PROBE_PT_3_Y),
3648 3648
                                   stow_probe_after_each, verbose_level);
3649 3649
 
3650 3650
       if (!dryrun) set_bed_level_equation_3pts(z_at_pt_1, z_at_pt_2, z_at_pt_3);

Notiek ielāde…
Atcelt
Saglabāt