diff options
Diffstat (limited to 'src/PrintMonitor.h')
-rw-r--r-- | src/PrintMonitor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PrintMonitor.h b/src/PrintMonitor.h index 7cc6783e..72df1e51 100644 --- a/src/PrintMonitor.h +++ b/src/PrintMonitor.h @@ -25,7 +25,7 @@ Licence: GPL 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 +#if SAM4E || SAM4S const size_t GCODE_READ_SIZE = 4096; // How many bytes to read in one go in GetFileInfo() (should be a multiple of 512 for read efficiency) #else const size_t GCODE_READ_SIZE = 1024; // How many bytes to read in one go in GetFileInfo() (should be a multiple of 512 for read efficiency) |