1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00

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