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
path: root/src
diff options
context:
space:
mode:
authorChristian Hammacher <bmasterc@gmail.com>2022-02-25 16:12:01 +0300
committerChristian Hammacher <bmasterc@gmail.com>2022-02-25 16:12:01 +0300
commitaa8127fcee77c1de98bf914d9eaaf67a6f717db2 (patch)
tree0f68f0c0da227985ee9bf5ca067050d60024a313 /src
parentebe9a404909053f2228f98068678b20ac45bfc34 (diff)
Bug fix for SBC mode
M291 S3 could block an input channel when it didn't originate from a file and cancel was pressed
Diffstat (limited to 'src')
-rw-r--r--src/GCodes/GCodeBuffer/GCodeBuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GCodes/GCodeBuffer/GCodeBuffer.cpp b/src/GCodes/GCodeBuffer/GCodeBuffer.cpp
index 4698ea5e..1c5f85bd 100644
--- a/src/GCodes/GCodeBuffer/GCodeBuffer.cpp
+++ b/src/GCodes/GCodeBuffer/GCodeBuffer.cpp
@@ -1016,7 +1016,7 @@ void GCodeBuffer::MessageAcknowledged(bool cancelled) noexcept
ms->messageAcknowledged = true;
ms->messageCancelled = cancelled;
#if HAS_SBC_INTERFACE
- messageAcknowledged = !cancelled;
+ messageAcknowledged = true;
reprap.GetSbcInterface().EventOccurred();
#endif
}