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 GitHub
parent 71bec0824c
commit 7afd274d0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}