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-02-17 11:49:33 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-02-17 11:49:33 +0300
commita6679d1195034aeaf81fd2c4d30b6bd9e5d56e49 (patch)
tree58e83f12c5d7b7178be9a7fd19fb232e94fce185 /src/Movement
parente86f9472eda30820714d3965bffbd36574e0e62d (diff)
Fixed a compiler warning
Diffstat (limited to 'src/Movement')
-rw-r--r--src/Movement/Kinematics/RotaryDeltaKinematics.cpp2
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];
}
}