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-10-08 12:06:13 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-10-08 12:06:13 +0300
commitffd7aa7d821efdfc17004c41f2ad6fbf8a9713e6 (patch)
tree2d43b10a69a5e90d0b6cd0f767e45c60ff063ef0 /src/GCodes
parent03866e859459857a2b8fc0570465f631f15f6c50 (diff)
Fixed Duet 2 SBC build and increased version to 3.4.0beta5
Diffstat (limited to 'src/GCodes')
-rw-r--r--src/GCodes/GCodes.cpp2
-rw-r--r--src/GCodes/GCodes.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/GCodes/GCodes.cpp b/src/GCodes/GCodes.cpp
index 9b505e24..1c2c5427 100644
--- a/src/GCodes/GCodes.cpp
+++ b/src/GCodes/GCodes.cpp
@@ -4502,7 +4502,7 @@ void GCodes::SetAllAxesNotHomed() noexcept
}
}
-#if HAS_MASS_STORAGE
+#if HAS_MASS_STORAGE || HAS_LINUX_INTERFACE
// Write the config-override file returning true if an error occurred
GCodeResult GCodes::WriteConfigOverrideFile(GCodeBuffer& gb, const StringRef& reply) const noexcept
diff --git a/src/GCodes/GCodes.h b/src/GCodes/GCodes.h
index 180cf0a2..261a069d 100644
--- a/src/GCodes/GCodes.h
+++ b/src/GCodes/GCodes.h
@@ -481,7 +481,7 @@ private:
#endif
GCodeResult WaitForPin(GCodeBuffer& gb, const StringRef &reply) THROWS(GCodeException); // Handle M577
-#if HAS_MASS_STORAGE
+#if HAS_MASS_STORAGE || HAS_LINUX_INTERFACE
GCodeResult WriteConfigOverrideFile(GCodeBuffer& gb, const StringRef& reply) const noexcept; // Write the config-override file
bool WriteConfigOverrideHeader(FileStore *f) const noexcept; // Write the config-override header
#endif