瀏覽代碼

if !HAS_MESH we still need to do some motion! (#8328)

* if !HAS_MESH we still need to do some motion!

Thank You MagoKimbra !

* Ooops....   need #else and not #elif
Roxy-3D 7 年之前
父節點
當前提交
1c6e83c137
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 5 行新增1 行删除
  1. 5
    1
      Marlin/src/module/motion.cpp

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

@@ -658,9 +658,13 @@ float soft_endstop_min[XYZ] = { X_MIN_BED, Y_MIN_BED, Z_MIN_POS },
658 658
             #endif
659 659
             return true;
660 660
           }
661
-          else
661
+          else {
662 662
             line_to_destination();
663
+            return false;
664
+          }
663 665
         #endif
666
+      #else
667
+        line_to_destination();  
664 668
       #endif // HAS_MESH
665 669
 
666 670
     return false;

Loading…
取消
儲存