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:
Diffstat (limited to 'src/Movement/Move.h')
-rw-r--r--src/Movement/Move.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Movement/Move.h b/src/Movement/Move.h
index d16b3e7e..a1414ada 100644
--- a/src/Movement/Move.h
+++ b/src/Movement/Move.h
@@ -283,10 +283,11 @@ private:
uint32_t longestGcodeWaitInterval; // the longest we had to wait for a new GCode
float tangents[3]; // Axis compensation - 90 degrees + angle gives angle between axes
- float& tanXY = tangents[0];
- float& tanYZ = tangents[1];
- float& tanXZ = tangents[2];
- bool compensateXY;
+ bool compensateXY; // If true then we compensate for XY skew by adjusting the Y coordinate; else we adjust the X coordinate
+
+ float tanXY() const noexcept { return tangents[0]; }
+ float tanYZ() const noexcept { return tangents[1]; }
+ float tanXZ() const noexcept { return tangents[2]; }
HeightMap heightMap; // The grid definition in use and height map for G29 bed probing
RandomProbePointSet probePoints; // G30 bed probe points