Ver código fonte

Apply HOME_AFTER_DEACTIVATE for 'G28 O' (#20525)

Dick Streefland 4 anos atrás
pai
commit
7afd274d0c
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      Marlin/src/gcode/calibrate/G28.cpp

+ 1
- 1
Marlin/src/gcode/calibrate/G28.cpp Ver arquivo

@@ -227,7 +227,7 @@ void GcodeSuite::G28() {
227 227
   #endif
228 228
 
229 229
   // Home (O)nly if position is unknown
230
-  if (!homing_needed() && parser.boolval('O')) {
230
+  if (!axes_should_home() && parser.boolval('O')) {
231 231
     if (DEBUGGING(LEVELING)) DEBUG_ECHOLNPGM("> homing not needed, skip");
232 232
     return;
233 233
   }

Carregando…
Cancelar
Salvar