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
This commit is contained in:
Roxy-3D 2017-11-08 09:42:21 -06:00 committed by GitHub
parent 004fc55eaf
commit 1c6e83c137
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;