Index: firmware/App/Controllers/DGInterface.h =================================================================== diff -u -rd9b453ef439e9ad04d207abfe472c8f2deedfb76 -r81e7649d3fe44642515332103d0d24de28154331 --- firmware/App/Controllers/DGInterface.h (.../DGInterface.h) (revision d9b453ef439e9ad04d207abfe472c8f2deedfb76) +++ firmware/App/Controllers/DGInterface.h (.../DGInterface.h) (revision 81e7649d3fe44642515332103d0d24de28154331) @@ -35,6 +35,7 @@ #define DEFAULT_TARGET_FILL_FLOW_RATE_LPM 0.8F ///< Default target fill flow rate in L/min. #define DRAIN_RESERVOIR_TO_VOLUME_ML 0 ///< Drain reservoir to this volume (in mL) during treatment. #define LOAD_CELL_PRIMARY_BACKUP_MAX_ALLOWED_DRIFT_GRAMS 10.0F ///< Reservoir load cell drift difference allowed +#define LOAD_CELL_ILLEGAL_WEIGHT_VALUE -10000.0F ///< Initial value for Load Cells, known bad value /// DG Concentrate ratios data structure. typedef struct Index: firmware/App/Modes/Dialysis.c =================================================================== diff -u -rd9b453ef439e9ad04d207abfe472c8f2deedfb76 -r81e7649d3fe44642515332103d0d24de28154331 --- firmware/App/Modes/Dialysis.c (.../Dialysis.c) (revision d9b453ef439e9ad04d207abfe472c8f2deedfb76) +++ firmware/App/Modes/Dialysis.c (.../Dialysis.c) (revision 81e7649d3fe44642515332103d0d24de28154331) @@ -1222,7 +1222,6 @@ * @param reservoirFull is the reservoir status full or empty * @return none *************************************************************************/ -#define LOAD_CELL_ILLEGAL_WEIGHT_VALUE -1000.0F static void checkLoadCellsStablePrimaryBackupDriftOutOfRange( DG_RESERVOIR_ID_T reservoirID, BOOL reservoirFull ) { static F32 lastEmptyWeight[NUM_OF_LOAD_CELLS] = { LOAD_CELL_ILLEGAL_WEIGHT_VALUE,