Skip to content

Commit

Permalink
We shouldn't be setting the axis to where it should be after the pull…
Browse files Browse the repository at this point in the history
… tight, it is where it is
  • Loading branch information
BarbourSmith committed May 3, 2018
1 parent 8e717bf commit edd9892
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cnc_ctrl_v1/GCode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit edd9892

Please sign in to comment.