Index: firmware/App/Controllers/DGInterface.c =================================================================== diff -u -r78cee9347b3766ac7c14d413ed848be758c7e9cd -rf6c512d7d0c0a7e37b11423412af8e792438b1d3 --- firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision 78cee9347b3766ac7c14d413ed848be758c7e9cd) +++ firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision f6c512d7d0c0a7e37b11423412af8e792438b1d3) @@ -256,7 +256,7 @@ { if ( DG_RECIRCULATE_MODE_STATE_RECIRC_WATER == dgSubMode ) { - cmdStartDGDrain( DRAIN_RESERVOIR_TO_VOLUME_ML, FALSE ); + cmdStartDGDrain( DRAIN_RESERVOIR_TO_VOLUME_ML, TRUE ); } } else if ( DG_MODE_DRAI == dgOpMode ) @@ -554,6 +554,19 @@ } /*********************************************************************//** + * @brief + * The getDialysateTemperature function gets the latest dialysate temperature. + * @details Inputs: dgDialysateTemp + * @details Outputs: none + * @return the current dialysate temperature + *************************************************************************/ +F32 getDialysateTemperature( void ) +{ + return dgDialysateTemp; +} + +/*********************************************************************//** + * @brief * The getReservoirWeight function gets the load cell weight of a given * reservoir. * @details Inputs: loadCellWeightInGrams[]