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-02 23:03:41 +0300
committerChristian Hammacher <bmasterc@gmail.com>2021-11-02 23:03:41 +0300
commitaa850feea05f552cc915abbc13e6870df31df3f2 (patch)
tree9d95b49fa54268cbf849b76141390b324731187f /src/GCodes/GCodes.h
parente7892b8a2d4609a687fe9acde367fe2ce07e33e2 (diff)
Removed heightmap code for SBC mode
Removed various bits that were previously needed for heightmap handling in SBC mode
Diffstat (limited to 'src/GCodes/GCodes.h')
-rw-r--r--src/GCodes/GCodes.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/GCodes/GCodes.h b/src/GCodes/GCodes.h
index 0b56edbc..49b24058 100644
--- a/src/GCodes/GCodes.h
+++ b/src/GCodes/GCodes.h
@@ -222,7 +222,6 @@ public:
void EmergencyStop() noexcept; // Cancel everything
const GridDefinition& GetDefaultGrid() const { return defaultGrid; }; // Get the default grid definition
- bool AssignGrid(const char axesLetters[2], const float axis0Range[2], const float axis1Range[2], float radius, float spacing[2]) noexcept; // Assign the heightmap using the given parameters
void ActivateHeightmap(bool activate) noexcept; // (De-)Activate the height map
int GetNewToolNumber() const noexcept { return newToolNumber; }
@@ -466,7 +465,7 @@ private:
bool IsMappedFan(unsigned int fanNumber) noexcept; // Return true if this fan number is currently being used as a print cooling fan
GCodeResult DefineGrid(GCodeBuffer& gb, const StringRef &reply) THROWS(GCodeException); // Define the probing grid, returning true if error
-#if HAS_MASS_STORAGE
+#if HAS_MASS_STORAGE || HAS_SBC_INTERFACE
GCodeResult LoadHeightMap(GCodeBuffer& gb, const StringRef& reply) THROWS(GCodeException); // Load the height map from file
bool TrySaveHeightMap(const char *filename, const StringRef& reply) const noexcept; // Save the height map to the specified file
GCodeResult SaveHeightMap(GCodeBuffer& gb, const StringRef& reply) const; // Save the height map to the file specified by P parameter