Index: firmware/App/Controllers/Heaters.c =================================================================== diff -u -r364c00d074d23989f2d714189a8c89964e32b458 -r1f1b53030a930c542646d9d88c7db0c3a945f150 --- firmware/App/Controllers/Heaters.c (.../Heaters.c) (revision 364c00d074d23989f2d714189a8c89964e32b458) +++ firmware/App/Controllers/Heaters.c (.../Heaters.c) (revision 1f1b53030a930c542646d9d88c7db0c3a945f150) @@ -7,8 +7,8 @@ * * @file Heaters.c * -* @author (last) Bill Bracken -* @date (last) 22-Aug-2022 +* @author (last) Michael Garthwaite +* @date (last) 07-Sep-2022 * * @author (original) Dara Navaei * @date (original) 23-Apr-2020 @@ -30,7 +30,6 @@ #include "OperationModes.h" #include "PersistentAlarm.h" #include "Reservoirs.h" -#include "ROPump.h" #include "SafetyShutdown.h" #include "SystemCommMessages.h" #include "TaskGeneral.h" @@ -170,6 +169,7 @@ if( heater < NUM_OF_DG_HEATERS ) { +#ifndef DISABLE_HEATERS_AND_TEMPS // Assume the target temperature has not changed heatersStatus[ heater ].hasTargetTempChanged = FALSE; @@ -180,6 +180,7 @@ heatersStatus[ heater ].hasTargetTempChanged = TRUE; result = TRUE; } +#endif } else { @@ -213,6 +214,7 @@ { BOOL status = FALSE; + if( heater < NUM_OF_DG_HEATERS ) { if ( HEATER_EXEC_STATE_OFF == heatersStatus[ heater ].state )