diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-09-06 14:46:33 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-09-06 14:46:33 +0300 |
commit | cc239f2a8e6b5441a65cbd6e10960da0624b7cfc (patch) | |
tree | 671d98d40219b796934019894493515453ebb8ef /src/GCodes/GCodeMachineState.h | |
parent | 214214ed84a9ff1f809e567b836b62cdc42d391f (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.h | 7 |
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, |