Browse Source

Fix G28 with Z_AFTER_PROBING

Fix #10476
pull/1/head
Scott Lahteine 7 years ago
parent
commit
1c3d49afe0
  1. 8
      Marlin/src/gcode/calibrate/G28.cpp

8
Marlin/src/gcode/calibrate/G28.cpp

@ -311,10 +311,12 @@ void GcodeSuite::G28(const bool always_home_all) {
#else #else
HOMEAXIS(Z); HOMEAXIS(Z);
#endif #endif
#if HOMING_Z_WITH_PROBE && Z_AFTER_PROBING
move_z_after_probing();
#endif
} // home_all || homeZ } // home_all || homeZ
#if HOMING_Z_WITH_PROBE && Z_AFTER_PROBING
move_z_after_probing();
#endif
#endif // Z_HOME_DIR < 0 #endif // Z_HOME_DIR < 0
SYNC_PLAN_POSITION_KINEMATIC(); SYNC_PLAN_POSITION_KINEMATIC();

Loading…
Cancel
Save