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>2021-06-03 16:48:52 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-06-03 16:48:52 +0300
commita9e074cdeda7195103d2131c7ab7d653dacc8a30 (patch)
treea07db988626b62b49f97eb977e7376c1b0f56214 /src/Heating/LocalHeater.h
parented23db138ff8113ca1765463b253167fe7353474 (diff)
Support multiple ports per heater
Diffstat (limited to 'src/Heating/LocalHeater.h')
-rw-r--r--src/Heating/LocalHeater.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Heating/LocalHeater.h b/src/Heating/LocalHeater.h
index 2015eb6e..db6db03d 100644
--- a/src/Heating/LocalHeater.h
+++ b/src/Heating/LocalHeater.h
@@ -61,7 +61,7 @@ private:
float GetExpectedHeatingRate() const noexcept; // Get the minimum heating rate we expect
void RaiseHeaterFault(const char *format, ...) noexcept;
- PwmPort port; // The port that drives the heater
+ PwmPort ports[MaxPortsPerHeater]; // The port(s) that drive the heater
float temperature; // The current temperature
float previousTemperatures[NumPreviousTemperatures]; // The temperatures of the previous NumDerivativeSamples measurements, used for calculating the derivative
size_t previousTemperatureIndex; // Which slot in previousTemperature we fill in next