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:
authorChristian Hammacher <bmasterc@gmail.com>2021-07-30 22:44:51 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-07-31 10:02:15 +0300
commit81200e40d6f69dd6f6f1d5e218958646c20c2653 (patch)
tree7b3b232012bb4d8006376aac2ba5c93ef0cdb715 /src/GCodes/GCodes2.cpp
parent3fda1ba333e3ea3df3e50a4630f1d64128ab21c6 (diff)
More improvements for SBC mode
Improved performance of the Linux task once again Added more debug info for spurious "failed to close macro file" messages Added new timeout when waiting for SPI transfers on SAM5Ex series Bug fix: Linux task spun longer than anticipated Bug fix: New cancelling state was broken Bug fix: File deletion from RRF on SBC wasn't working
Diffstat (limited to 'src/GCodes/GCodes2.cpp')
-rw-r--r--src/GCodes/GCodes2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GCodes/GCodes2.cpp b/src/GCodes/GCodes2.cpp
index d5dc4af4..6bb56c5a 100644
--- a/src/GCodes/GCodes2.cpp
+++ b/src/GCodes/GCodes2.cpp
@@ -533,10 +533,10 @@ bool GCodes::HandleMcode(GCodeBuffer& gb, const StringRef& reply) THROWS(GCodeEx
// If we are cancelling a paused print with M0 and we are homed and cancel.g exists then run it and do nothing else
if (oldPauseState != PauseState::notPaused && code == 0 && AllAxesAreHomed() && DoFileMacro(gb, CANCEL_G, false, SystemHelperMacroCode))
{
+ pauseState = PauseState::cancelling;
break;
}
- pauseState = PauseState::cancelling;
const bool leaveHeatersOn = (gb.Seen('H') && gb.GetIValue() > 0);
gb.SetState((leaveHeatersOn) ? GCodeState::stoppingWithHeatersOn : GCodeState::stoppingWithHeatersOff);
(void)DoFileMacro(gb, (code == 0) ? STOP_G : SLEEP_G, false, SystemHelperMacroCode);