Index: firmware/App/Controllers/Heaters.c =================================================================== diff -u -rda3fb953ff72fc65fc6c8c6b91fd833114cb7cbf -ra06e2c94a2c49609972b28f7ccd0647baabdb9b1 --- firmware/App/Controllers/Heaters.c (.../Heaters.c) (revision da3fb953ff72fc65fc6c8c6b91fd833114cb7cbf) +++ firmware/App/Controllers/Heaters.c (.../Heaters.c) (revision a06e2c94a2c49609972b28f7ccd0647baabdb9b1) @@ -129,10 +129,13 @@ static U32 heatersOnWithNoFlowTimer; ///< Heaters are on but there is no sufficient flow. static TEMPERATURE_SENSORS_T primaryHeatersFeedbackTempSensor = TEMPSENSORS_OUTLET_PRIMARY_HEATER; ///< Primary heaters feedback temperature sensors. static TEMPERATURE_SENSORS_T trimmerHeaterFeedbackTempSensor = TEMPSENSORS_OUTLET_REDUNDANT; ///< Trimmer heater feedback temperature sensors. + +#ifndef IGNORE_HEATERS_MONITOR static U32 primaryHeatersInternalTempOutTimer = 0; ///< Primary heaters internal temperature out of range timer. static U32 trimmerHeaterInternalTempOutTimer = 0; ///< Trimmer heater internal temperature out of range timer. static BOOL isPrimaryHeatersTempOutOfRange = FALSE; ///< Boolean flag to indicate if the primary heaters internal temperature out of range. static BOOL isTrimmerHeaterTempOutOfRange = FALSE; ///< Boolean flag to indicate if the trimmer heater internal temperature out of range. +#endif static BOOL isFlowBelowMin = FALSE; ///< Boolean flag to indicate if the flow is below the minimum. // ********** private function prototypes ********** @@ -177,10 +180,13 @@ selfTestElapsedTime = 0; primaryHeatersFeedbackTempSensor = TEMPSENSORS_OUTLET_PRIMARY_HEATER; trimmerHeaterFeedbackTempSensor = TEMPSENSORS_OUTLET_REDUNDANT; + +#ifndef IGNORE_HEATERS_MONITOR primaryHeatersInternalTempOutTimer = 0; trimmerHeaterInternalTempOutTimer = 0; isPrimaryHeatersTempOutOfRange = FALSE; isTrimmerHeaterTempOutOfRange = FALSE; +#endif isFlowBelowMin = FALSE; // Initialize the PI controller for the primary heaters