MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / ClearMove

Method ClearMove

src/Movement/RawMove.cpp:50–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void 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
64int32_t MovementState::lastKnownEndpoints[MaxAxesPlusExtruders]; // the last stored position of the logical drives
65int32_t MovementState::endpointsAtSimulationStart[MaxAxesPlusExtruders]; // what the endpoints were before we started simulating

Callers 3

ReadMoveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected