From b249347bf4fc75cb8cedc6317ae5fe936169b057 Mon Sep 17 00:00:00 2001 From: David Crocker Date: Sat, 29 May 2021 09:04:25 +0100 Subject: Added local heater PWM to the object model --- src/Heating/LocalHeater.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/Heating/LocalHeater.h') 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() -- cgit v1.2.3