瀏覽代碼

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 年之前
父節點
當前提交
81b9c7c6ee
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      Marlin/src/module/motion.cpp

+ 1
- 1
Marlin/src/module/motion.cpp 查看文件

@@ -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…
取消
儲存