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/Heating/Heat.cpp')
-rw-r--r--src/Heating/Heat.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Heating/Heat.cpp b/src/Heating/Heat.cpp
index 402b8354..f654ec61 100644
--- a/src/Heating/Heat.cpp
+++ b/src/Heating/Heat.cpp
@@ -38,6 +38,13 @@ void Heat::Init()
{
pids[heater]->Init(DefaultBedHeaterGain, DefaultBedHeaterTimeConstant, DefaultBedHeaterDeadTime, false);
}
+#ifndef DUET_NG
+ else if (heater == HEATERS - 1)
+ {
+ // Heater 6 pin is shared with fan 1. By default we support fan 1, so disable heater 6.
+ pids[heater]->Init(-1.0, -1.0, -1.0, true);
+ }
+#endif
else
{
pids[heater]->Init(DefaultHotEndHeaterGain, DefaultHotEndHeaterTimeConstant, DefaultHotEndHeaterDeadTime, true);