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-05-29 11:04:25 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-05-29 11:04:25 +0300
commitb249347bf4fc75cb8cedc6317ae5fe936169b057 (patch)
tree1bd009719218bd0cac459f1001075e9b6706d995 /src/Heating/LocalHeater.h
parent614d4420353d439f957a76f405105016ba7d6f9a (diff)
Added local heater PWM to the object model
Diffstat (limited to 'src/Heating/LocalHeater.h')
-rw-r--r--src/Heating/LocalHeater.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Heating/LocalHeater.h b/src/Heating/LocalHeater.h
index d6ef0c99..8fe8dff9 100644
--- a/src/Heating/LocalHeater.h
+++ b/src/Heating/LocalHeater.h
@@ -66,7 +66,6 @@ private:
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
float iAccumulator; // The integral LocalHeater component
- float lastPwm; // The last PWM value we output, before scaling by kS
float averagePWM; // The running average of the PWM, after scaling.
uint32_t timeSetHeating; // When we turned on the heater
uint32_t lastSampleTime; // Time when the temperature was last sampled by Spin()