Implement NO_MOTION_BEFORE_HOMING option

This commit is contained in:
Scott Lahteine
2017-10-01 21:34:58 -05:00
parent 965b0ab53e
commit 90af1fe5ee
8 changed files with 35 additions and 19 deletions

View File

@@ -50,7 +50,7 @@ void plan_cubic_move(const float offset[4]) {
* G5: Cubic B-spline
*/
void GcodeSuite::G5() {
if (IsRunning()) {
if (MOTION_CONDITIONS) {
#if ENABLED(CNC_WORKSPACE_PLANES)
if (workspace_plane != PLANE_XY) {