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:
authorChristian Hammacher <bmasterc@gmail.com>2021-11-23 21:57:46 +0300
committerChristian Hammacher <bmasterc@gmail.com>2021-11-23 21:57:46 +0300
commit09a09c63f7c0cd15c09f3b2ff4beb93b7a977342 (patch)
tree32170e86bb4db4faf65a6546c508373c8e6aa0ed
parent9045f04fedcd6c5d78b9aad18ff71655d9ad71ae (diff)
Fixed heightmap.csv generation for Duet2_SBC
-rw-r--r--src/GCodes/GCodes4.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GCodes/GCodes4.cpp b/src/GCodes/GCodes4.cpp
index 427a6e07..f2ccb6b5 100644
--- a/src/GCodes/GCodes4.cpp
+++ b/src/GCodes/GCodes4.cpp
@@ -868,7 +868,7 @@ void GCodes::RunStateMachine(GCodeBuffer& gb, const StringRef& reply) noexcept
reprap.GetMove().SetLatestMeshDeviation(deviation);
reply.printf("%" PRIu32 " points probed, min error %.3f, max error %.3f, mean %.3f, deviation %.3f\n",
numPointsProbed, (double)minError, (double)maxError, (double)deviation.GetMean(), (double)deviation.GetDeviationFromMean());
-#if HAS_MASS_STORAGE
+#if HAS_MASS_STORAGE || HAS_SBC_INTERFACE
if (TrySaveHeightMap(DefaultHeightMapFile, reply))
{
stateMachineResult = GCodeResult::error;