diff options
Diffstat (limited to 'src/Movement/DDA.cpp')
-rw-r--r-- | src/Movement/DDA.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Movement/DDA.cpp b/src/Movement/DDA.cpp index 0eeea2b6..a42ac642 100644 --- a/src/Movement/DDA.cpp +++ b/src/Movement/DDA.cpp @@ -161,8 +161,8 @@ void DDA::Init() bool DDA::Init(const GCodes::RawMove &nextMove, bool doMotorMapping) { // 1. Compute the new endpoints and the movement vector - const int32_t *positionNow = prev->DriveCoordinates(); - const Move *move = reprap.GetMove(); + const int32_t * const positionNow = prev->DriveCoordinates(); + const Move * const move = reprap.GetMove(); if (doMotorMapping) { move->MotorTransform(nextMove.coords, endPoint); // transform the axis coordinates if on a delta or CoreXY printer |