From edd9892ceeb14ec955e02e05f33dc416bdfa8829 Mon Sep 17 00:00:00 2001 From: BarbourSmith Date: Thu, 3 May 2018 15:56:09 -0700 Subject: [PATCH] We shouldn't be setting the axis to where it should be after the pull tight, it is where it is --- cnc_ctrl_v1/GCode.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cnc_ctrl_v1/GCode.cpp b/cnc_ctrl_v1/GCode.cpp index 2c956e88..e2b0ed7a 100644 --- a/cnc_ctrl_v1/GCode.cpp +++ b/cnc_ctrl_v1/GCode.cpp @@ -259,15 +259,10 @@ byte executeBcodeLine(const String& gcodeLine){ rightAxis.motorGearboxEncoder.motor.directWrite(speed); } - if (i % 10000 == 0){ - Serial.println(F("pulling")); //Keep the connection from timing out - } i++; execSystemRealtime(); if (sys.stop){return STATUS_OK;} } - leftAxis.set(leftAxis.read()); - rightAxis.set(rightAxis.read()); return STATUS_OK; }