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 kpishere committed Feb 19, 2021
1 parent 95f15b1 commit c41aa16
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 c41aa16

Please sign in to comment.