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/Platform
parent03866e859459857a2b8fc0570465f631f15f6c50 (diff)
Fixed Duet 2 SBC build and increased version to 3.4.0beta5
Diffstat (limited to 'src/Platform')
-rw-r--r--src/Platform/Platform.cpp2
-rw-r--r--src/Platform/Platform.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Platform/Platform.cpp b/src/Platform/Platform.cpp
index ccb6b6a1..53d3f171 100644
--- a/src/Platform/Platform.cpp
+++ b/src/Platform/Platform.cpp
@@ -2486,7 +2486,7 @@ void Platform::UpdateConfiguredHeaters() noexcept
}
}
-#if HAS_MASS_STORAGE
+#if HAS_MASS_STORAGE || HAS_LINUX_INTERFACE
// Write the platform parameters to file
bool Platform::WritePlatformParameters(FileStore *f, bool includingG31) const noexcept
diff --git a/src/Platform/Platform.h b/src/Platform/Platform.h
index 01b19307..24c979f1 100644
--- a/src/Platform/Platform.h
+++ b/src/Platform/Platform.h
@@ -521,7 +521,7 @@ public:
const volatile ZProbeAveragingFilter& GetZProbeOnFilter() const noexcept { return zProbeOnFilter; }
const volatile ZProbeAveragingFilter& GetZProbeOffFilter() const noexcept{ return zProbeOffFilter; }
-#if HAS_MASS_STORAGE
+#if HAS_MASS_STORAGE || HAS_LINUX_INTERFACE
bool WritePlatformParameters(FileStore *f, bool includingG31) const noexcept;
#endif
@@ -800,7 +800,7 @@ private:
float axisMinima[MaxAxes];
AxesBitmap axisMinimaProbed, axisMaximaProbed;
-#if HAS_MASS_STORAGE
+#if HAS_MASS_STORAGE || HAS_LINUX_INTERFACE
static bool WriteAxisLimits(FileStore *f, AxesBitmap axesProbed, const float limits[MaxAxes], int sParam) noexcept;
#endif