Merge pull request #3057 from jbrazio/3034-z_raise_after_probing_fix

Fix Z_RAISE_AFTER_PROBING for non DELTA printers
This commit is contained in:
Scott Lahteine 2016-03-02 03:14:27 -08:00
commit 186629aee8

View File

@ -3198,6 +3198,11 @@ inline void gcode_G28() {
// Sled assembly for Cartesian bots
#if ENABLED(Z_PROBE_SLED)
dock_sled(true); // dock the sled
#elif Z_RAISE_AFTER_PROBING > 0
// Raise Z axis for non-delta and non servo based probes
#if !defined(HAS_SERVO_ENDSTOPS) && DISABLED(Z_PROBE_ALLEN_KEY) && DISABLED(Z_PROBE_SLED)
raise_z_after_probing();
#endif
#endif
#endif // !DELTA