| 48 | } |
| 49 | |
| 50 | void MovementState::ClearMove() noexcept |
| 51 | { |
| 52 | TaskCriticalSectionLocker lock; // make sure that other tasks sees a consistent memory state |
| 53 | |
| 54 | segmentsLeft = 0; |
| 55 | segMoveState = SegmentedMoveState::inactive; |
| 56 | doingArcMove = false; |
| 57 | checkEndstops = false; |
| 58 | reduceAcceleration = false; |
| 59 | moveType = 0; |
| 60 | applyM220M221 = false; |
| 61 | moveFractionToSkip = 0.0; |
| 62 | } |
| 63 | |
| 64 | int32_t MovementState::lastKnownEndpoints[MaxAxesPlusExtruders]; // the last stored position of the logical drives |
| 65 | int32_t MovementState::endpointsAtSimulationStart[MaxAxesPlusExtruders]; // what the endpoints were before we started simulating |
no outgoing calls
no test coverage detected