diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-02-17 11:49:33 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-02-17 11:49:33 +0300 |
commit | a6679d1195034aeaf81fd2c4d30b6bd9e5d56e49 (patch) | |
tree | 58e83f12c5d7b7178be9a7fd19fb232e94fce185 /src/Movement | |
parent | e86f9472eda30820714d3965bffbd36574e0e62d (diff) |
Fixed a compiler warning
Diffstat (limited to 'src/Movement')
-rw-r--r-- | src/Movement/Kinematics/RotaryDeltaKinematics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Movement/Kinematics/RotaryDeltaKinematics.cpp b/src/Movement/Kinematics/RotaryDeltaKinematics.cpp index 0afb8047..a6594d99 100644 --- a/src/Movement/Kinematics/RotaryDeltaKinematics.cpp +++ b/src/Movement/Kinematics/RotaryDeltaKinematics.cpp @@ -525,7 +525,7 @@ void RotaryDeltaKinematics::Adjust(size_t numFactors, const floatc_t v[]) noexce endstopAdjustments[tower] += (float)v[tower]; if (numFactors >= 4) { - bearingHeights[tower] += v[3]; + bearingHeights[tower] += (float)v[3]; } } |