Skip to content

Commit

Permalink
Apply HOME_AFTER_DEACTIVATE for 'G28 O' (MarlinFirmware#20525)
Browse files Browse the repository at this point in the history
  • Loading branch information
streef authored and tharts committed Jan 6, 2021
1 parent 4bb2da4 commit 2b5f1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/gcode/calibrate/G28.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2b5f1c7

Please sign in to comment.