Browse Source

Comment on run_z_probe

Scott Lahteine 9 years ago
parent
commit
1a92e2ef18
1 changed files with 3 additions and 4 deletions
  1. 3
    4
      Marlin/Marlin_main.cpp

+ 3
- 4
Marlin/Marlin_main.cpp View File

@@ -1954,14 +1954,13 @@ static void setup_for_endstop_move() {
1954 1954
     endstops.enable_z_probe(false);
1955 1955
   }
1956 1956
 
1957
+  // Do a single Z probe and return with current_position[Z_AXIS]
1958
+  // at the height where the probe triggered.
1957 1959
   static void run_z_probe() {
1958 1960
 
1959 1961
     float old_feedrate = feedrate;
1960 1962
 
1961
-    /**
1962
-     * To prevent stepper_inactive_time from running out and
1963
-     * EXTRUDER_RUNOUT_PREVENT from extruding
1964
-     */
1963
+    // Prevent stepper_inactive_time from running out and EXTRUDER_RUNOUT_PREVENT from extruding
1965 1964
     refresh_cmd_timeout();
1966 1965
 
1967 1966
     #if ENABLED(DELTA)

Loading…
Cancel
Save