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 14:46:33 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-09-06 14:46:33 +0300
commitcc239f2a8e6b5441a65cbd6e10960da0624b7cfc (patch)
tree671d98d40219b796934019894493515453ebb8ef /src/GCodes/GCodeMachineState.h
parent214214ed84a9ff1f809e567b836b62cdc42d391f (diff)
Attemp fix for main loop timeout when tuning closed loop motor
Diffstat (limited to 'src/GCodes/GCodeMachineState.h')
-rw-r--r--src/GCodes/GCodeMachineState.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/GCodes/GCodeMachineState.h b/src/GCodes/GCodeMachineState.h
index a4412b0e..9fdab54c 100644
--- a/src/GCodes/GCodeMachineState.h
+++ b/src/GCodes/GCodeMachineState.h
@@ -122,7 +122,7 @@ enum class GCodeState : uint8_t
#endif
#if HAS_VOLTAGE_MONITOR
- powerFailPausing1
+ powerFailPausing1,
#endif
};
@@ -226,8 +226,9 @@ public:
messageAcknowledged : 1,
messageCancelled : 1,
localPush : 1, // true if this stack frame was created by M120, so we use the parent variables
- macroRestartable : 1,
- firstMoveAfterRestart : 1
+ macroRestartable : 1, // true if the current macro has used M98 R1 to say that it can be interrupted and restarted
+ firstCommandAfterRestart : 1, // true if this is the first command after restarting a macro that was interrupted
+ commandRepeated : 1 // true if the current command is being repeated because it returned GCodeResult::notFinished the first time
#if HAS_LINUX_INTERFACE
, lastCodeFromSbc : 1,
macroStartedByCode : 1,