Index: firmware/App/Controllers/Heaters.c =================================================================== diff -u -rb4e65bc0026ff22f0bb77e4e066724368ef1cfd5 -r788a0b1a638d815df1e83af80cba7be03af2020c --- firmware/App/Controllers/Heaters.c (.../Heaters.c) (revision b4e65bc0026ff22f0bb77e4e066724368ef1cfd5) +++ firmware/App/Controllers/Heaters.c (.../Heaters.c) (revision 788a0b1a638d815df1e83af80cba7be03af2020c) @@ -205,11 +205,9 @@ static F32 prevDialyzerTemperature; ///< Previous dialyzer temp collected to check temperature rise static U32 startTimeToInitiateOuterloopTimeout; ///< Time to wait for temperature uptrend to seen,else initiate the outer loop control static U32 startTimeToCheckUpTrendTemperature; ///< Time to wait for measured dialyzer temperature uptrend check. -static U32 startTimeToUndoOffsetFromHeatlossEstimation; -static BOOL previousHeaterState[ NUM_OF_DD_HEATERS ]; +static U32 startTimeToUndoOffsetFromHeatlossEstimation; ///< Time to remove the offset that is added to heatloss model for Low Qds. +static BOOL previousHeaterState[ NUM_OF_DD_HEATERS ]; ///< Previous State of Heater. -///< Time to remove the offset that is added to heatloss model for Low Qds. - //For testing #ifdef __HEATERS_DEBUG__ static F32 pIControlSignal[ NUM_OF_CONTROLLER_SIGNAL ]; @@ -805,8 +803,8 @@ /*********************************************************************//** * @brief * The execHeatersControl function executes the heaters state machine. - * @details \b Inputs: heaterStatus - * @details \b Outputs: heaterStatus + * @details \b Inputs: heaterStatus, previousHeaterState + * @details \b Outputs: heaterStatus, previousHeaterState * @details \b Alarms: ALARM_ID_DD_SOFTWARE_FAULT when invalid heater * executive state found. * @return none