| 1362 | #endif |
| 1363 | |
| 1364 | void GCodeBuffer::RestartFrom(FilePosition pos) noexcept |
| 1365 | { |
| 1366 | #if HAS_MASS_STORAGE || HAS_EMBEDDED_FILES |
| 1367 | if (machineState->fileState.IsLive()) |
| 1368 | { |
| 1369 | fileInput->Reset(machineState->fileState); // clear the buffered data |
| 1370 | machineState->fileState.Seek(pos); // replay the abandoned instructions when we resume |
| 1371 | } |
| 1372 | #endif |
| 1373 | Init(); // clear the next move |
| 1374 | } |
| 1375 | |
| 1376 | const char *_ecv_array GCodeBuffer::DataStart() const noexcept |
| 1377 | { |
no test coverage detected