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:
authorManuel Coenen <manuel@duet3d.com>2020-06-17 13:24:20 +0300
committerManuel Coenen <manuel@duet3d.com>2020-06-17 13:24:20 +0300
commitf25d9ba31a3d5290ee40ee677e6880db4e640e83 (patch)
tree66b1c5a635c7a02914ac5fbeb3eff69b992434ab /src/Movement/StraightProbeSettings.cpp
parent51144a89a4b307c23f0233bfec63bb1ea5678560 (diff)
Be safe by using a copy of currentUserLocation
Diffstat (limited to 'src/Movement/StraightProbeSettings.cpp')
-rw-r--r--src/Movement/StraightProbeSettings.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/Movement/StraightProbeSettings.cpp b/src/Movement/StraightProbeSettings.cpp
index a514cde8..b696ca5c 100644
--- a/src/Movement/StraightProbeSettings.cpp
+++ b/src/Movement/StraightProbeSettings.cpp
@@ -23,14 +23,6 @@ void StraightProbeSettings::Reset() noexcept
}
}
-void StraightProbeSettings::SetTarget(const float coords[MaxAxes]) noexcept
-{
- for (size_t axis = 0; axis < MaxAxes; ++axis)
- {
- target[axis] = coords[axis];
- }
-}
-
void StraightProbeSettings::SetCoordsToTarget(float coords[MaxAxes]) const noexcept
{
for (size_t axis = 0; axis < MaxAxes; ++axis)