diff options
author | David Crocker <dcrocker@eschertech.com> | 2022-11-02 19:23:43 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2022-11-02 19:23:43 +0300 |
commit | 690c9f12b155eb0027455b1dd4735fdf4be80116 (patch) | |
tree | 4431aff651f2fd3c057ce22dcb4b7f1ad9799d4b | |
parent | 80eafc547c7bc5f247a9ddbfa4320317f07612cb (diff) |
Correction to previous commit
-rw-r--r-- | src/Movement/DDARing.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Movement/DDARing.cpp b/src/Movement/DDARing.cpp index ac6d885b..96382faa 100644 --- a/src/Movement/DDARing.cpp +++ b/src/Movement/DDARing.cpp @@ -673,6 +673,7 @@ void DDARing::ResetExtruderPositions() noexcept { AtomicCriticalSectionLocker lock; liveCoordinatesValid = false; + DDA::DDAState state; if ( getPointer != addPointer // OK if the ring is neither empty or full || (state = addPointer->GetState()) == DDA::DDAState::empty || state == DDA::DDAState::completed // also OK if the ring is not full ) |