Browse Source

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

twice for a servo based probe.
pull/1/head
jbrazio 9 years ago
parent
commit
67e15aac3d
  1. 3
      Marlin/Marlin_main.cpp

3
Marlin/Marlin_main.cpp

@ -3199,8 +3199,11 @@ inline void gcode_G28() {
#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

Loading…
Cancel
Save