Browse Source

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 years ago
parent
commit
1c6e83c137
No account linked to committer's email address
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      Marlin/src/module/motion.cpp

+ 5
- 1
Marlin/src/module/motion.cpp View File

@@ -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…
Cancel
Save