As pointed out by @Blue-Marlin the previous code would raise the Z axis

twice for a servo based probe.
2.0.x
jbrazio 9 years ago
parent 17cc2a9663
commit 67e15aac3d

@ -3199,7 +3199,10 @@ inline void gcode_G28() {
#if ENABLED(Z_PROBE_SLED) #if ENABLED(Z_PROBE_SLED)
dock_sled(true); // dock the sled dock_sled(true); // dock the sled
#elif Z_RAISE_AFTER_PROBING > 0 #elif Z_RAISE_AFTER_PROBING > 0
raise_z_after_probing(); // 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
#endif // !DELTA #endif // !DELTA

Loading…
Cancel
Save