Browse Source

Apply HOME_AFTER_DEACTIVATE for 'G28 O' (#20525)

vanilla_fb_2.0.x
Dick Streefland 4 years ago
committed by Scott Lahteine
parent
commit
b799d0d073
  1. 2
      Marlin/src/gcode/calibrate/G28.cpp

2
Marlin/src/gcode/calibrate/G28.cpp

@ -227,7 +227,7 @@ void GcodeSuite::G28() {
#endif #endif
// Home (O)nly if position is unknown // 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"); if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("> homing not needed, skip");
return; return;
} }

Loading…
Cancel
Save