Index: firmware/App/Controllers/DGInterface.c =================================================================== diff -u -ra06953d0fc210dd9157388c27120e2225c898a37 -rb21d331f7b18cb2a1dacad78bd1049b31152f029 --- firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision a06953d0fc210dd9157388c27120e2225c898a37) +++ firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision b21d331f7b18cb2a1dacad78bd1049b31152f029) @@ -65,15 +65,15 @@ static BOOL dgTrimmerHeaterOn; ///< Flag indicates whether we have commanded the DG to start or stop the trimmer heater. // State machine states -static U32 timeStartMS = 0; // TODO is this needed? - -// DG sensor data -static F32 dgDialysateTemp; ///< Dialysate temperature reported by the DG. -static F32 dgRedundantDialysateTemp = 0.0; ///< Redundant dialysate temperature reported by the DG. -static F32 dgPrimaryTemp = 0.0; ///< Latest RO water temperature reported by the DG. -static F32 dgTrimmerTempSet; ///< Trimmer heater target temperature commanded. -static F32 dgTrimmerTemp = 0.0; ///< Latest dialysate temperature reported by the DG. - +static U32 timeStartMS = 0; // TODO is this needed? + +// DG sensor data +static F32 dgDialysateTemp = 0.0; ///< Dialysate temperature reported by the DG. +static F32 dgRedundantDialysateTemp = 0.0; ///< Redundant dialysate temperature reported by the DG. +static F32 dgPrimaryTemp = 0.0; ///< Latest RO water temperature reported by the DG. +static F32 dgTrimmerTempSet = 0.0; ///< Trimmer heater target temperature commanded. +static F32 dgTrimmerTemp = 0.0; ///< Latest dialysate temperature reported by the DG. + /// Measured weight from load cells. static OVERRIDE_F32_T loadCellWeightInGrams[ NUM_OF_LOAD_CELLS ]; /// Filtered (32 sample) weight of reservoirs. @@ -223,8 +223,10 @@ * @brief * The execDGInterfaceMonitor function executes the DG Interface monitoring * function. Ensures DG is sending fresh data in a timely manner. - * @details Inputs: TBD - * @details Outputs: TBD + * @details Inputs: dgLoadCellDataFreshFlag, dgDialysateTemperatureDataFreshFlag, + * dgReservoirsDataFreshFlag, dgOpModeDataFreshFlag + * @details Outputs: dgLoadCellDataFreshFlag, dgDialysateTemperatureDataFreshFlag, + * dgReservoirsDataFreshFlag, dgOpModeDataFreshFlag * @return none *************************************************************************/ void execDGInterfaceMonitor( void )