diff options
author | David Crocker <dcrocker@eschertech.com> | 2019-07-02 00:50:12 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2019-07-02 00:50:12 +0300 |
commit | c6e580f7b3fa94e9707a225af50922c8daa8a6cf (patch) | |
tree | be06ac0a62fbc3c45aeb8137e86c6b7baee4fc69 /src/Storage/FileInfoParser.h | |
parent | e14f84e930073bd33d6ecc2ebdad9c3147ed6e18 (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.h | 5 |
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_ */ |