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:
authorDavid Crocker <dcrocker@eschertech.com>2021-09-06 12:27:43 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-09-06 12:27:43 +0300
commit214214ed84a9ff1f809e567b836b62cdc42d391f (patch)
tree033362ad5d8eb6527adb553363a19601947e03a8 /src/GCodes/GCodes.h
parent11423af6eb4866b0596ac751f4402324299a7cc5 (diff)
Changes to allow macros to be paused and restarted
Diffstat (limited to 'src/GCodes/GCodes.h')
-rw-r--r--src/GCodes/GCodes.h3
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