Przeglądaj źródła

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 5 lat temu
rodzic
commit
81b9c7c6ee
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      Marlin/src/module/motion.cpp

+ 1
- 1
Marlin/src/module/motion.cpp Wyświetl plik

573
    */
573
    */
574
   void apply_motion_limits(float target[XYZ]) {
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
     #if IS_KINEMATIC
578
     #if IS_KINEMATIC
579
 
579
 

Ładowanie…
Anuluj
Zapisz