diff options
author | Manuel Coenen <manuel@duet3d.com> | 2020-06-17 13:24:20 +0300 |
---|---|---|
committer | Manuel Coenen <manuel@duet3d.com> | 2020-06-17 13:24:20 +0300 |
commit | f25d9ba31a3d5290ee40ee677e6880db4e640e83 (patch) | |
tree | 66b1c5a635c7a02914ac5fbeb3eff69b992434ab /src/Movement/StraightProbeSettings.cpp | |
parent | 51144a89a4b307c23f0233bfec63bb1ea5678560 (diff) |
Be safe by using a copy of currentUserLocation
Diffstat (limited to 'src/Movement/StraightProbeSettings.cpp')
-rw-r--r-- | src/Movement/StraightProbeSettings.cpp | 8 |
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) |