Explorar el Código

No motion constraint before homing

Sensible approach to soft endstops before the machine is homed.

Ref: https://github.com/MarlinFirmware/Marlin/pull/15027#issuecomment-533301094
Co-Authored-By: comps <comps@nomail.dom>
Scott Lahteine hace 5 años
padre
commit
81b9c7c6ee
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      Marlin/src/module/motion.cpp

+ 1
- 1
Marlin/src/module/motion.cpp Ver fichero

@@ -573,7 +573,7 @@ void restore_feedrate_and_scaling() {
573 573
    */
574 574
   void apply_motion_limits(float target[XYZ]) {
575 575
 
576
-    if (!soft_endstops_enabled) return;
576
+    if (!soft_endstops_enabled || !all_axes_homed()) return;
577 577
 
578 578
     #if IS_KINEMATIC
579 579
 

Loading…
Cancelar
Guardar