diff options
author | David Crocker <dcrocker@eschertech.com> | 2022-06-28 15:07:12 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2022-06-28 15:07:12 +0300 |
commit | 58fb28175de1f75661aefa114f444cdbabafce34 (patch) | |
tree | 1b053d4c92bbbc672f67dee17d4791c5198a51ad | |
parent | 748fd4492baad334fcdf7784e4740f5287fda350 (diff) |
Fixed build problem with previous merge
-rw-r--r-- | src/GCodes/GCodes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GCodes/GCodes.cpp b/src/GCodes/GCodes.cpp index 301bb4a5..5f0b1449 100644 --- a/src/GCodes/GCodes.cpp +++ b/src/GCodes/GCodes.cpp @@ -910,7 +910,7 @@ void GCodes::DoPause(GCodeBuffer& gb, PrintPausedReason reason, GCodeState newSt while (fileGCode->IsDoingFileMacro()) // must call this after GetFilePosition because this changes IsDoingFileMacro { pausedInMacro = true; - fileGCode->PopState(); + fileGCode->PopState(false); } #if SUPPORT_LASER || SUPPORT_IOBITS pauseRestorePoint.laserPwmOrIoBits = moveState.laserPwmOrIoBits; |