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-10-28 12:33:02 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-10-28 12:33:02 +0300
commitf09bba226db604c580f7f017998cfd4aa4433425 (patch)
tree0a2df7d5a0b0eaeeedcef89bb97f3fc4bebb6c7a
parent9744fbef6c10928a8fbf42d116ea56ced7b1af25 (diff)
Bug fix: extruder endpoints were not updated
-rw-r--r--src/Movement/DDA.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Movement/DDA.cpp b/src/Movement/DDA.cpp
index cf95272d..6c08ce0f 100644
--- a/src/Movement/DDA.cpp
+++ b/src/Movement/DDA.cpp
@@ -388,7 +388,7 @@ bool DDA::InitStandardMove(DDARing& ring, const RawMove &nextMove, bool doMotorM
// It's an extruder drive. We defer calculating the steps because they may be affected by nonlinear extrusion, which we can't calculate until we
// know the speed of the move, and because extruder movement is relative so we need to accumulate fractions of a whole step between moves.
const float movement = nextMove.coords[drive];
- directionVector[drive] = movement;
+ endCoordinates[drive] = directionVector[drive] = movement; // for an extruder, endCoordinates is the amount of movement
if (movement != 0.0)
{
extrudersMoving = true;