Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2021-10-18 17:56:43 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-10-18 17:56:43 +0300
commitc0f47d671496f5ada26fc3094441ec2ff80a48ae (patch)
tree1468c613272128bea6018daaf06097d6a166221f /src/GCodes/GCodes2.cpp
parent4e15856c84b9378d3336c5c6b7ddea9de59305ae (diff)
Initial implementation of G68/69
Diffstat (limited to 'src/GCodes/GCodes2.cpp')
-rw-r--r--src/GCodes/GCodes2.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/GCodes/GCodes2.cpp b/src/GCodes/GCodes2.cpp
index 0017115e..cd1ff11e 100644
--- a/src/GCodes/GCodes2.cpp
+++ b/src/GCodes/GCodes2.cpp
@@ -425,6 +425,16 @@ bool GCodes::HandleGcode(GCodeBuffer& gb, const StringRef& reply) THROWS(GCodeEx
result = SavePosition(gb, reply);
break;
+#if SUPPORT_COORDINATE_ROTATION
+ case 68:
+ result = HandleG68(gb, reply);
+ break;
+
+ case 69:
+ g68Angle = 0.0;
+ break;
+#endif
+
case 90: // Absolute coordinates
gb.LatestMachineState().axesRelative = false;
reprap.InputsUpdated();