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>2022-01-10 21:31:55 +0300
committerDavid Crocker <dcrocker@eschertech.com>2022-01-10 21:31:55 +0300
commite39e8495e049610f7f1b0f6b7b84a2c264c18b85 (patch)
tree910bdee07485d847df7e8ca3c1ec7659534e1644 /src/Storage/MassStorage.cpp
parentbb765cf76647399b61547d500f71be13ec8ab8a7 (diff)
Simplified build configuration files and added Duet3_MB6XD
Diffstat (limited to 'src/Storage/MassStorage.cpp')
-rw-r--r--src/Storage/MassStorage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Storage/MassStorage.cpp b/src/Storage/MassStorage.cpp
index dcab61c2..8529c02d 100644
--- a/src/Storage/MassStorage.cpp
+++ b/src/Storage/MassStorage.cpp
@@ -19,7 +19,7 @@ static_assert(SD_MMC_MEM_CNT == NumSdCards);
# include <SBC/SbcInterface.h>
#endif
-#ifdef DUET3_V06
+#ifdef DUET3_MB6HC
# include <GCodes/GCodeBuffer/GCodeBuffer.h>
#endif
@@ -97,7 +97,7 @@ static uint64_t GetFreeSpace(size_t slot)
static const char * const VolPathNames[] = { "0:/", "1:/" };
static_assert(ARRAY_SIZE(VolPathNames) >= NumSdCards, "Incorrect VolPathNames array");
-#ifdef DUET3_V06
+#ifdef DUET3_MB6HC
static IoPort sd1Ports[2]; // first element is CS port, second is CD port
#endif
@@ -181,7 +181,7 @@ static FileStore files[MAX_FILES];
#if HAS_MASS_STORAGE
-# ifdef DUET3_V06
+# ifdef DUET3_MB6HC
// Return the number of volumes, which on the 6HC is normally 1 but can be increased to 2
size_t MassStorage::GetNumVolumes() noexcept