* fix for #8669

* Update G28.cpp
This commit is contained in:
revilor 2017-12-06 02:40:36 +01:00 committed by Scott Lahteine
parent d8b444c144
commit 9e3fbcf35c

View file

@ -205,7 +205,7 @@ void GcodeSuite::G28(const bool always_home_all) {
#endif
}
#else
#endif
if (home_all || homeX || homeY) {
// Raise Z before homing any other axes and z is not already high enough (never lower z)
@ -221,8 +221,6 @@ void GcodeSuite::G28(const bool always_home_all) {
}
}
#endif
#if ENABLED(QUICK_HOME)
if (home_all || (homeX && homeY)) quick_home_xy();