diff options
Diffstat (limited to 'src/Movement')
-rw-r--r-- | src/Movement/DDA.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Movement/DDA.cpp b/src/Movement/DDA.cpp index 880f02f5..f0adb8ac 100644 --- a/src/Movement/DDA.cpp +++ b/src/Movement/DDA.cpp @@ -1624,7 +1624,7 @@ void DDA::Prepare(SimulationMode simMode) noexcept } #if SUPPORT_CAN_EXPANSION - const uint32_t canClocksNeeded = CanMotion::FinishMovement(afterPrepare.moveStartTime, simMode != SimulationMode::off, flags.checkEndstops); + const uint32_t canClocksNeeded = CanMotion::FinishMovement(*this, afterPrepare.moveStartTime, simMode != SimulationMode::off); if (canClocksNeeded > clocksNeeded) { // Due to rounding error in the calculations, we quite often calculate the CAN move as being longer than our previously-calculated value, normally by just one clock. |