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:
Diffstat (limited to 'src/GCodes/GCodeInput.h')
-rw-r--r--src/GCodes/GCodeInput.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/GCodes/GCodeInput.h b/src/GCodes/GCodeInput.h
index 11c900d3..d421f567 100644
--- a/src/GCodes/GCodeInput.h
+++ b/src/GCodes/GCodeInput.h
@@ -9,10 +9,8 @@
#define GCODEINPUT_H
#include "RepRapFirmware.h"
-
-#include "GCodeBuffer.h"
-#include "Storage/FileStore.h"
-
+#include "Storage/FileData.h"
+#include "MessageType.h"
const size_t GCodeInputBufferSize = 256; // How many bytes can we cache per input source?
const size_t GCodeInputFileReadThreshold = 128; // How many free bytes must be available before data is read from the SD card?
@@ -96,7 +94,7 @@ public:
FileGCodeInput() : RegularGCodeInput(), lastFile(nullptr) { }
void Reset() override; // This should be called when the associated file is being closed
- void Reset(const FileData &file); // Should be called when a specific G-code or macro file is closed outside the reading context
+ void Reset(const FileData &file); // Should be called when a specific G-code or macro file is closed or re-opened outside the reading context
bool ReadFromFile(FileData &file); // Read another chunk of G-codes from the file and return true if more data is available