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>2021-08-09 12:28:06 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-08-09 12:28:06 +0300
commit53ce4b3eb1acbf0dcecaeeae6d4cc4d18dc7fb2d (patch)
treef5bf21919cac25d33d0e23268923ca0c9f470455 /src/GCodes/GCodes3.cpp
parentf59d7cc1a162a057d9523147d838a36d93ae9c49 (diff)
More work on embedded file support
Diffstat (limited to 'src/GCodes/GCodes3.cpp')
-rw-r--r--src/GCodes/GCodes3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GCodes/GCodes3.cpp b/src/GCodes/GCodes3.cpp
index 37e99fcd..56633948 100644
--- a/src/GCodes/GCodes3.cpp
+++ b/src/GCodes/GCodes3.cpp
@@ -397,7 +397,7 @@ GCodeResult GCodes::DefineGrid(GCodeBuffer& gb, const StringRef &reply) THROWS(G
}
-#if HAS_MASS_STORAGE || HAS_LINUX_INTERFACE
+#if HAS_MASS_STORAGE || HAS_LINUX_INTERFACE || HAS_EMBEDDED_FILES
// Handle M37 to simulate a whole file
GCodeResult GCodes::SimulateFile(GCodeBuffer& gb, const StringRef &reply, const StringRef& file, bool updateFile)
@@ -408,7 +408,7 @@ GCodeResult GCodes::SimulateFile(GCodeBuffer& gb, const StringRef &reply, const
return GCodeResult::error;
}
-# if HAS_MASS_STORAGE
+# if HAS_MASS_STORAGE || HAS_EMBEDDED_FILES
if (
# if HAS_LINUX_INTERFACE
reprap.UsingLinuxInterface() ||