Apply HOME_AFTER_DEACTIVATE for 'G28 O' (#20525)

This commit is contained in:
Dick Streefland 2020-12-21 08:49:00 +01:00 committed by Scott Lahteine
parent be6e1ccba2
commit b799d0d073

View File

@ -227,7 +227,7 @@ void GcodeSuite::G28() {
#endif
// Home (O)nly if position is unknown
if (!homing_needed() && parser.boolval('O')) {
if (!axes_should_home() && parser.boolval('O')) {
if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("> homing not needed, skip");
return;
}