Z_RAISE_AFTER_PROBING value was being ignored by Marlin because

raise_z_after_probing() was only called if the printer type was set to a
DELTA or if the printer had a docking sled for the probe.
This commit is contained in:
jbrazio 2016-02-29 15:48:26 +00:00
parent 9f8e6dce20
commit 17cc2a9663

View file

@ -3198,6 +3198,8 @@ 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_after_probing();
#endif
#endif // !DELTA