Browse Source

Fix some comments

Scott Lahteine 3 years ago
parent
commit
198b3ae0f8
2 changed files with 3 additions and 2 deletions
  1. 1
    0
      Marlin/src/gcode/calibrate/G28.cpp
  2. 2
    2
      Marlin/src/module/probe.cpp

+ 1
- 0
Marlin/src/gcode/calibrate/G28.cpp View File

@@ -246,6 +246,7 @@ void GcodeSuite::G28() {
246 246
     set_bed_leveling_enabled(false);
247 247
   #endif
248 248
 
249
+  // Reset to the XY plane
249 250
   TERN_(CNC_WORKSPACE_PLANES, workspace_plane = PLANE_XY);
250 251
 
251 252
   // Count this command as movement / activity

+ 2
- 2
Marlin/src/module/probe.cpp View File

@@ -548,10 +548,10 @@ float Probe::run_z_probe(const bool sanity_check/*=true*/) {
548 548
   DEBUG_SECTION(log_probe, "Probe::run_z_probe", DEBUGGING(LEVELING));
549 549
 
550 550
   auto try_to_probe = [&](PGM_P const plbl, const float &z_probe_low_point, const feedRate_t fr_mm_s, const bool scheck, const float clearance) -> bool {
551
-    // Do a first probe at the fast speed
552
-
551
+    // Tare the probe, if supported
553 552
     if (TERN0(PROBE_TARE, tare())) return true;
554 553
 
554
+    // Do a first probe at the fast speed
555 555
     const bool probe_fail = probe_down_to_z(z_probe_low_point, fr_mm_s),            // No probe trigger?
556 556
                early_fail = (scheck && current_position.z > -offset.z + clearance); // Probe triggered too high?
557 557
     #if ENABLED(DEBUG_LEVELING_FEATURE)

Loading…
Cancel
Save