diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-01-23 17:13:42 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-01-23 17:13:42 +0300 |
commit | 679be2794bddb1a8e044dbc3eab882ef159bf8e1 (patch) | |
tree | cf428b5564065f38ad9248fe05a804a16c6f0c28 /src/GCodes/GCodeMachineState.h | |
parent | 8aac0fd4cbec408adcb4b1df71c2513daf476caf (diff) |
Initial implementation of G17/G18/G19 (not tested)
Diffstat (limited to 'src/GCodes/GCodeMachineState.h')
-rw-r--r-- | src/GCodes/GCodeMachineState.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/GCodes/GCodeMachineState.h b/src/GCodes/GCodeMachineState.h index 5a8ba406..47be1aa7 100644 --- a/src/GCodes/GCodeMachineState.h +++ b/src/GCodes/GCodeMachineState.h @@ -193,14 +193,10 @@ public: BlockState blockStates[MaxBlockIndent]; uint32_t lineNumber; - uint16_t + uint32_t + selectedPlane : 2, drivesRelative : 1, axesRelative : 1, -#if HAS_LINUX_INTERFACE - lastCodeFromSbc : 1, - macroStartedByCode : 1, - fileFinished : 1, -#endif doingFileMacro : 1, waitWhileCooling : 1, runningM501 : 1, @@ -211,7 +207,13 @@ public: usingInches : 1, // true if units are inches not mm waitingForAcknowledgement : 1, messageAcknowledged : 1, - messageCancelled : 1; + messageCancelled : 1 +#if HAS_LINUX_INTERFACE + , lastCodeFromSbc : 1, + macroStartedByCode : 1, + fileFinished : 1 +#endif + ; Compatibility compatibility; uint8_t blockNesting; |