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:
Diffstat (limited to 'src/Platform.cpp')
-rw-r--r--src/Platform.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Platform.cpp b/src/Platform.cpp
index 8b1dba6a..77703e68 100644
--- a/src/Platform.cpp
+++ b/src/Platform.cpp
@@ -543,10 +543,13 @@ void Platform::Init() noexcept
// Initialise the configured heaters to just the default bed heater (there are no default chamber heaters)
configuredHeaters = 0;
+
+#ifndef DUET3
if (DefaultBedHeater >= 0)
{
SetBit(configuredHeaters, DefaultBedHeater);
}
+#endif
// Enable pullups on all the SPI CS pins. This is required if we are using more than one device on the SPI bus.
// Otherwise, when we try to initialise the first device, the other devices may respond as well because their CS lines are not high.