diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-09-06 12:27:43 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-09-06 12:27:43 +0300 |
commit | 214214ed84a9ff1f809e567b836b62cdc42d391f (patch) | |
tree | 033362ad5d8eb6527adb553363a19601947e03a8 /src/GCodes/GCodes.h | |
parent | 11423af6eb4866b0596ac751f4402324299a7cc5 (diff) |
Changes to allow macros to be paused and restarted
Diffstat (limited to 'src/GCodes/GCodes.h')
-rw-r--r-- | src/GCodes/GCodes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/GCodes/GCodes.h b/src/GCodes/GCodes.h index 39de3db7..05b7eb3c 100644 --- a/src/GCodes/GCodes.h +++ b/src/GCodes/GCodes.h @@ -121,7 +121,8 @@ public: #endif void AbortPrint(GCodeBuffer& gb) noexcept; // Cancel any print in progress void GetCurrentCoordinates(const StringRef& s) const noexcept; // Write where we are into a string - bool DoingFileMacro() const noexcept; // Is a macro file being processed? + bool DoingFileMacro() const noexcept; // Is a macro file being processed by any input channel? + bool GetMacroRestarted() const noexcept; // Return true if the macro being executed by fileGCode was restarted bool WaitingForAcknowledgement() const noexcept; // Is an input waiting for a message to be acknowledged? FilePosition GetPrintingFilePosition() const noexcept; // Return the current position of the file being printed in bytes |