For all probes, at the end of G29 simply raise and stow

This commit is contained in:
Scott Lahteine 2016-06-21 15:11:56 -07:00
parent c3023f8cc5
commit 68e0e5855e

View File

@ -3788,17 +3788,14 @@ inline void gcode_G28() {
if (DEBUGGING(LEVELING)) DEBUG_POS("> corrected Z in G29", current_position);
#endif
}
#endif // !DELTA
#if DISABLED(Z_PROBE_ALLEN_KEY) && DISABLED(Z_PROBE_SLED) && !HAS_Z_SERVO_ENDSTOP
// Final raise of Z axis after probing.
raise_z_after_probing();
#endif
#if ENABLED(Z_PROBE_ALLEN_KEY) || ENABLED(Z_PROBE_SLED) || ENABLED(MECHANICAL_PROBE)
// Stow the probe. Servo will raise if needed.
stow_z_probe();
#else
endstops.enable_z_probe(false);
#endif
#ifdef Z_PROBE_END_SCRIPT
#if ENABLED(DEBUG_LEVELING_FEATURE)