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.cpp
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.cpp')
-rw-r--r--src/Storage/FileInfoParser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Storage/FileInfoParser.cpp b/src/Storage/FileInfoParser.cpp
index 9fa8e87a..6c061801 100644
--- a/src/Storage/FileInfoParser.cpp
+++ b/src/Storage/FileInfoParser.cpp
@@ -28,6 +28,8 @@ void GCodeFileInfo::Init()
}
}
+#if HAS_MASS_STORAGE
+
FileInfoParser::FileInfoParser()
: parseState(notParsing), fileBeingParsed(nullptr), accumulatedParseTime(0), accumulatedReadTime(0), accumulatedSeekTime(0), fileOverlapLength(0)
{
@@ -852,4 +854,6 @@ bool FileInfoParser::FindSimulatedTime(const char* buf, size_t len)
return false;
}
+#endif
+
// End