Index: firmware/App/Controllers/LoadCell.c =================================================================== diff -u -r47eae6b348bd1795718ccb7d085ae724dae53f4e -rcb01369be819a90490f7549eb91ce2a24d616f52 --- firmware/App/Controllers/LoadCell.c (.../LoadCell.c) (revision 47eae6b348bd1795718ccb7d085ae724dae53f4e) +++ firmware/App/Controllers/LoadCell.c (.../LoadCell.c) (revision cb01369be819a90490f7549eb91ce2a24d616f52) @@ -302,8 +302,8 @@ { // For the first tare, the weight of the reservoir should be considered // The current weight of the load cell should not be greater than the weight of the reservoir + the extra weight - F32 deltaWeight = fabs( weight - LOAD_CELL_MIN_ALLOWED_WEIGHT_BEFORE_TARE_GRAMS ); - isWeightOutOfRange = ( deltaWeight > MAX_ALLOWED_EXTRA_WEIGHT_BEFORE_TARE_GRAMS ? TRUE : FALSE ); + F32 deltaWeight = fabs( weight - EMPTY_RESERVOIR_WEIGHT_GRAMS ); + isWeightOutOfRange = ( deltaWeight > MAX_ALLOWED_EXTRA_WEIGHT_BEFORE_FIRST_TARE_GRAMS ? TRUE : FALSE ); } else { Index: firmware/App/DGCommon.h =================================================================== diff -u -r9653f93d5d0fa02d01b7da83571e2932c5222393 -rcb01369be819a90490f7549eb91ce2a24d616f52 --- firmware/App/DGCommon.h (.../DGCommon.h) (revision 9653f93d5d0fa02d01b7da83571e2932c5222393) +++ firmware/App/DGCommon.h (.../DGCommon.h) (revision cb01369be819a90490f7549eb91ce2a24d616f52) @@ -58,7 +58,7 @@ // Turn these flags on to disable dialysate mixing #define DISABLE_DIALYSATE_CHECK 1 #define DISABLE_MIXING 1 - //define USE_SMALL_FLOW_SENSOR_K_FACTOR 1 + #define USE_SMALL_FLOW_SENSOR_K_FACTOR 1 #include #include