Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2021-07-11 12:55:20 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-07-11 12:55:20 +0300
commit2bdaf7a305da3947dd365de6d46339de0b966866 (patch)
tree3037b6c4f19d4c820878b7798ddf7fa37b9c03d1 /src/GCodes/GCodes.cpp
parent4aa3e41f973339eeb7c66b10552fad6627a5e466 (diff)
Fixed lockup between autopause and code queue
Diffstat (limited to 'src/GCodes/GCodes.cpp')
-rw-r--r--src/GCodes/GCodes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/GCodes/GCodes.cpp b/src/GCodes/GCodes.cpp
index d65cdc62..94fb82a0 100644
--- a/src/GCodes/GCodes.cpp
+++ b/src/GCodes/GCodes.cpp
@@ -447,6 +447,7 @@ void GCodes::Spin() noexcept
) // if autoPause is active
{
(void)SpinGCodeBuffer(*autoPauseGCode);
+ (void)SpinGCodeBuffer(*queuedGCode); // autopause sometimes to wait for queued GCodes to complete, so spin queuedGCodes too to avoid lockup
}
else
{