Browse Source

Followup to G33 patch

Scott Lahteine 6 years ago
parent
commit
e56ead5e1c
1 changed files with 6 additions and 7 deletions
  1. 6
    7
      Marlin/Marlin_main.cpp

+ 6
- 7
Marlin/Marlin_main.cpp View File

@@ -5544,13 +5544,12 @@ void home_all_axes() { gcode_G28(true); }
5544 5544
   }
5545 5545
 
5546 5546
   inline float calibration_probe(const float nx, const float ny, const bool stow) {
5547
-    return
5548
-      #if HAS_BED_PROBE
5549
-        probe_pt(nx, ny, stow, 0, false)
5550
-      #else
5551
-        lcd_probe_pt(nx, ny)
5552
-      #endif
5553
-    ;
5547
+    #if HAS_BED_PROBE
5548
+      return probe_pt(nx, ny, stow, 0, false);
5549
+    #else
5550
+      UNUSED(stow);
5551
+      return lcd_probe_pt(nx, ny);
5552
+    #endif
5554 5553
   }
5555 5554
 
5556 5555
   static float probe_G33_points(float z_at_pt[NPP + 1], const int8_t probe_points, const bool towers_set, const bool stow_after_each) {

Loading…
Cancel
Save