Index: firmware/App/Controllers/DGInterface.c =================================================================== diff -u -r766708fceb0bdf1af8c7897df29d4f5036bfd3db -r9df8ab7b66946cb653f804c8191613cefafc4d57 --- firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision 766708fceb0bdf1af8c7897df29d4f5036bfd3db) +++ firmware/App/Controllers/DGInterface.c (.../DGInterface.c) (revision 9df8ab7b66946cb653f804c8191613cefafc4d57) @@ -84,12 +84,12 @@ // Load cell filtering data /// Holds load cell samples for small load cell moving average static F32 smLoadCellReadings[ NUM_OF_DG_RESERVOIRS ][ SIZE_OF_SMALL_LOAD_CELL_AVG ]; -static U32 smLoadCellReadingsIdx = 0; ///< index for next sample in small load cell rolling average sample array -static F32 smLoadCellReadingsTotal[ NUM_OF_DG_RESERVOIRS ]; ///< rolling total - used to calc small load cell moving average +static U32 smLoadCellReadingsIdx = 0; ///< Index for next sample in small load cell rolling average sample array. +static F32 smLoadCellReadingsTotal[ NUM_OF_DG_RESERVOIRS ]; ///< Rolling total - used to calc small load cell moving average. /// Holds load cell samples for large load cell moving average static F32 lgLoadCellReadings[ NUM_OF_DG_RESERVOIRS ][ SIZE_OF_LARGE_LOAD_CELL_AVG ]; -static U32 lgLoadCellReadingsIdx = 0; ///< index for next sample in large load cell rolling average sample array -static F32 lgLoadCellReadingsTotal[ NUM_OF_DG_RESERVOIRS ]; ///< rolling total - used to calc large load cell moving average +static U32 lgLoadCellReadingsIdx = 0; ///< Index for next sample in large load cell rolling average sample array. +static F32 lgLoadCellReadingsTotal[ NUM_OF_DG_RESERVOIRS ]; ///< Rolling total - used to calc large load cell moving average. // DG pumps data static F32 dgROPumpFlowRateMlMin = 0.0; ///< Latest RO water flow rate reported by the DG. Index: firmware/App/Modes/BloodPrime.c =================================================================== diff -u -rf4199248340b66e66abbe99599d5d30ce980ea5f -r9df8ab7b66946cb653f804c8191613cefafc4d57 --- firmware/App/Modes/BloodPrime.c (.../BloodPrime.c) (revision f4199248340b66e66abbe99599d5d30ce980ea5f) +++ firmware/App/Modes/BloodPrime.c (.../BloodPrime.c) (revision 9df8ab7b66946cb653f804c8191613cefafc4d57) @@ -35,7 +35,8 @@ // ********** private definitiions *********** -#define TARGET_BLOOD_PRIME_VOLUME_ML 300.0 ///< Target blood prime volume to prime the blood side circuit (in mL). TODO - get from Systems when available +// TODO - get from Systems when available +#define TARGET_BLOOD_PRIME_VOLUME_ML 300.0 ///< Target blood prime volume to prime the blood side circuit (in mL). #define MIN_RAMP_TIME_SEC 60 ///< Minimum ramp time for blood prime (in seconds). /// Maximum blood prime volume measured by independent means (as % of target). static const F32 MAX_BLOOD_PRIME_SAFETY_VOLUME_ML = ( TARGET_BLOOD_PRIME_VOLUME_ML * 1.2 ); Index: firmware/App/Modes/Dialysis.h =================================================================== diff -u -rf4199248340b66e66abbe99599d5d30ce980ea5f -r9df8ab7b66946cb653f804c8191613cefafc4d57 --- firmware/App/Modes/Dialysis.h (.../Dialysis.h) (revision f4199248340b66e66abbe99599d5d30ce980ea5f) +++ firmware/App/Modes/Dialysis.h (.../Dialysis.h) (revision 9df8ab7b66946cb653f804c8191613cefafc4d57) @@ -23,7 +23,11 @@ /** * @defgroup Dialysis Dialysis - * @brief Dialysis sub-mode of treatment mode. + * @brief Dialysis sub-mode of treatment mode. The dialysis sub-mode is where + * dialysis and (optionally) ultrafiltration are being provided by the system. + * Heparin is added to the blood when appropriate. A saline bolus may be requested + * by the user; however, dialysis and ultrafiltration would not be provided during + * a saline bolus. * * @addtogroup Dialysis * @{