From e9aa909cd187d122e4f8ac207ecca3e2fce959d9 Mon Sep 17 00:00:00 2001 From: David Crocker Date: Fri, 28 Jan 2022 15:59:45 +0000 Subject: Expansion mode fixes from gloomyAndy --- src/Movement/DDA.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Movement') diff --git a/src/Movement/DDA.cpp b/src/Movement/DDA.cpp index 74c4a05f..e98c7042 100644 --- a/src/Movement/DDA.cpp +++ b/src/Movement/DDA.cpp @@ -718,6 +718,8 @@ bool DDA::InitFromRemote(const CanMessageMovementLinear& msg) noexcept params.unshaped.accelClocks = msg.accelerationClocks; params.unshaped.steadyClocks = msg.steadyClocks; params.unshaped.decelClocks = msg.decelClocks; + params.unshaped.acceleration = acceleration; + params.unshaped.deceleration = deceleration; shapedSegments = unshapedSegments = nullptr; activeDMs = completedDMs = nullptr; -- cgit v1.2.3