From 1c6e83c137c91c8510d77a9a01d761c1a5f525f0 Mon Sep 17 00:00:00 2001
From: Roxy-3D <Roxy-3D@users.noreply.github.com>
Date: Wed, 8 Nov 2017 09:42:21 -0600
Subject: [PATCH] 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
---
 Marlin/src/module/motion.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Marlin/src/module/motion.cpp b/Marlin/src/module/motion.cpp
index 2d2e9a3b52..a998fc71c3 100644
--- a/Marlin/src/module/motion.cpp
+++ b/Marlin/src/module/motion.cpp
@@ -658,9 +658,13 @@ float soft_endstop_min[XYZ] = { X_MIN_BED, Y_MIN_BED, Z_MIN_POS },
             #endif
             return true;
           }
-          else
+          else {
             line_to_destination();
+            return false;
+          }
         #endif
+      #else
+        line_to_destination();  
       #endif // HAS_MESH
 
     return false;
-- 
GitLab