diff options
author | Christian Hammacher <bmasterc@gmail.com> | 2022-02-25 16:12:01 +0300 |
---|---|---|
committer | Christian Hammacher <bmasterc@gmail.com> | 2022-02-25 16:12:01 +0300 |
commit | aa8127fcee77c1de98bf914d9eaaf67a6f717db2 (patch) | |
tree | 0f68f0c0da227985ee9bf5ca067050d60024a313 /src | |
parent | ebe9a404909053f2228f98068678b20ac45bfc34 (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.cpp | 2 |
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 } |