Browse Source

Merge pull request #3057 from jbrazio/3034-z_raise_after_probing_fix

Fix Z_RAISE_AFTER_PROBING for non DELTA printers
pull/1/head
Scott Lahteine 9 years ago
parent
commit
186629aee8
  1. 5
      Marlin/Marlin_main.cpp

5
Marlin/Marlin_main.cpp

@ -3198,6 +3198,11 @@ inline void gcode_G28() {
// Sled assembly for Cartesian bots // Sled assembly for Cartesian bots
#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
// 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