From 1a92e2ef186d6a05dc4f4fd6638220c9bbb1dac9 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Tue, 21 Jun 2016 15:14:04 -0700 Subject: [PATCH] Comment on run_z_probe --- Marlin/Marlin_main.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index fc500eb6c..4a18ff759 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -1954,14 +1954,13 @@ static void setup_for_endstop_move() { endstops.enable_z_probe(false); } + // Do a single Z probe and return with current_position[Z_AXIS] + // at the height where the probe triggered. static void run_z_probe() { float old_feedrate = feedrate; - /** - * To prevent stepper_inactive_time from running out and - * EXTRUDER_RUNOUT_PREVENT from extruding - */ + // Prevent stepper_inactive_time from running out and EXTRUDER_RUNOUT_PREVENT from extruding refresh_cmd_timeout(); #if ENABLED(DELTA)