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>2017-08-03 18:14:01 +0300
committerDavid Crocker <dcrocker@eschertech.com>2017-08-03 18:14:21 +0300
commit757c61c7672123ffe805d6eb42c06c64c5aa14e0 (patch)
tree1c38bbe91ef96e8cf3c1d1a0a873b0baecce2ab3 /src/PrintMonitor.h
parent17e917d4b083e624a822483073e55089e698ec6a (diff)
More work towards 1.19RC1
Additional SX1509B expander is now working SCARA homing is now working Filament sensor are now polled and status reported in M122 Increased how much of the start of the file we search when looking for file info in gcode files
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 0be4a68e..ab2e3ae4 100644
--- a/src/PrintMonitor.h
+++ b/src/PrintMonitor.h
@@ -22,7 +22,7 @@ Licence: GPL
#include "RepRapFirmware.h"
-const FilePosition GCODE_HEADER_SIZE = 8192uL; // How many bytes to read from the header
+const FilePosition GCODE_HEADER_SIZE = 20000uL; // How many bytes to read from the header - I (DC) have a Kisslicer file with a layer height comment 14Kb from the start
const FilePosition GCODE_FOOTER_SIZE = 400000uL; // How many bytes to read from the footer
#ifdef DUET_NG
@@ -37,7 +37,7 @@ const float LAYER_HEIGHT_TOLERANCE = 0.015; // Tolerance for comparing two Z h
const size_t MAX_LAYER_SAMPLES = 5; // Number of layer samples for end-time estimation (except for first layer)
const float ESTIMATION_MIN_FILAMENT_USAGE = 0.01; // Minimum per cent of filament to be printed before the filament-based estimation returns values
-const float ESTIMATION_MIN_FILE_USAGE = 0.001; // Minium per cent of the file to be processed before any file-based estimations are made
+const float ESTIMATION_MIN_FILE_USAGE = 0.001; // Minimum per cent of the file to be processed before any file-based estimations are made
const float FIRST_LAYER_SPEED_FACTOR = 0.25; // First layer speed factor compared to other layers (only for layer-based estimation)
const uint32_t PRINTMONITOR_UPDATE_INTERVAL = 200; // Update interval in milliseconds