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:
authorDavid Crocker <dcrocker@eschertech.com>2016-03-23 17:53:50 +0300
committerDavid Crocker <dcrocker@eschertech.com>2016-03-23 17:53:50 +0300
commit68068e97ba520e8ef130c27879bf2c8837d2171f (patch)
tree1735e5c058a12741058892382a49f470e927751a /src/PrintMonitor.h
parenta3f90f806de9bfa099a1513823e633ba8208f804 (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.h4
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;