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>2019-07-02 00:50:12 +0300
committerDavid Crocker <dcrocker@eschertech.com>2019-07-02 00:50:12 +0300
commitc6e580f7b3fa94e9707a225af50922c8daa8a6cf (patch)
treebe06ac0a62fbc3c45aeb8137e86c6b7baee4fc69 /src/Storage/FileInfoParser.h
parente14f84e930073bd33d6ecc2ebdad9c3147ed6e18 (diff)
Consolidation after merge
Reverted some changes to Linux/MessageFormats.h and Linux/BinaryParser.cpp for compatibility with the existing SDF release Added HAS_MASS_STORAGE definition Removed lots of mass storage code when HAS_MASS_STORAGE is false Removed non-RTOS code Moved SPI channel usage definitions into CoreNG Added some new CAN message formats (not used by this project yet)
Diffstat (limited to 'src/Storage/FileInfoParser.h')
-rw-r--r--src/Storage/FileInfoParser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Storage/FileInfoParser.h b/src/Storage/FileInfoParser.h
index 496441aa..211bfd79 100644
--- a/src/Storage/FileInfoParser.h
+++ b/src/Storage/FileInfoParser.h
@@ -10,6 +10,9 @@
#include "RepRapFirmware.h"
#include "GCodes/GCodeFileInfo.h"
+
+#if HAS_MASS_STORAGE
+
#include "RTOSIface/RTOSIface.h"
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
@@ -75,4 +78,6 @@ private:
uint32_t buf32[(GCODE_READ_SIZE + GCODE_OVERLAP_SIZE + 3)/4 + 1]; // buffer must be 32-bit aligned for HSMCI. We need the +1 so we can add a null terminator.
};
+#endif
+
#endif /* SRC_STORAGE_FILEINFOPARSER_H_ */