From 17cc2a96639ec11c4c67bcd038e56f97b12e1bb8 Mon Sep 17 00:00:00 2001
From: jbrazio <jbrazio@gmail.com>
Date: Mon, 29 Feb 2016 15:48:26 +0000
Subject: [PATCH] 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.

---
 Marlin/Marlin_main.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp
index aedcc8c152..bea1a4e8fc 100644
--- a/Marlin/Marlin_main.cpp
+++ b/Marlin/Marlin_main.cpp
@@ -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
-- 
GitLab