| 923 | } |
| 924 | |
| 925 | void GCodeBuffer::SetFinished(bool f) noexcept |
| 926 | { |
| 927 | if (f) |
| 928 | { |
| 929 | #if HAS_SBC_INTERFACE |
| 930 | sendToSbc = false; |
| 931 | #endif |
| 932 | LatestMachineState().firstCommandAfterRestart = false; |
| 933 | PARSER_OPERATION(SetFinished()); |
| 934 | } |
| 935 | else |
| 936 | { |
| 937 | bufferState = GCodeBufferState::executing; |
| 938 | } |
| 939 | } |
| 940 | |
| 941 | void GCodeBuffer::Disable() noexcept |
| 942 | { |
no outgoing calls
no test coverage detected