Fix G28 with Z_AFTER_PROBING

Fix #10476
This commit is contained in:
Scott Lahteine 2018-04-22 01:23:26 -05:00
parent b6747c742a
commit 1c3d49afe0

View file

@ -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();