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 W4tel-BiDi committed Apr 5, 2021
1 parent 8db64f0 commit 7daf591
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 7daf591

Please sign in to comment.