diff options
author | David Crocker <dcrocker@eschertech.com> | 2016-03-23 17:53:50 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2016-03-23 17:53:50 +0300 |
commit | 68068e97ba520e8ef130c27879bf2c8837d2171f (patch) | |
tree | 1735e5c058a12741058892382a49f470e927751a /src/PrintMonitor.h | |
parent | a3f90f806de9bfa099a1513823e633ba8208f804 (diff) |
Version 1.09z-rc1
Merged in chrishamm's latest changes
Implemented firmware retraction
Diffstat (limited to 'src/PrintMonitor.h')
-rw-r--r-- | src/PrintMonitor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PrintMonitor.h b/src/PrintMonitor.h index ab96dcdb..8778a829 100644 --- a/src/PrintMonitor.h +++ b/src/PrintMonitor.h @@ -21,7 +21,7 @@ Licence: GPL #define PRINTMONITOR_H const FilePosition GCODE_HEADER_SIZE = 8192uL; // How many bytes to read from the header -const FilePosition GCODE_FOOTER_SIZE = 128000uL; // How many bytes to read from the footer +const FilePosition GCODE_FOOTER_SIZE = 192000uL; // How many bytes to read from the footer const size_t GCODE_READ_SIZE = 1024; // How many bytes to read in one go in GetFileInfo() (should be a multiple of 4 for read efficiency) const size_t GCODE_OVERLAP_SIZE = 100; // Size of the overlapping buffer for searching (should be a multple of 4 as well) @@ -119,7 +119,7 @@ class PrintMonitor float RawFilamentExtruded() const; // We parse G-Code files in multiple stages. These variables hold the required information - FileParseState parseState; + volatile FileParseState parseState; char filenameBeingParsed[FILENAME_LENGTH]; FileStore *fileBeingParsed; GCodeFileInfo parsedFileInfo; |