Index: firmware/App/Controllers/LoadCell.c =================================================================== diff -u -r2fff37fa585181917705645494549b5fd4a4d522 -r89259a1e69799a051874afaf351c37091bef26da --- firmware/App/Controllers/LoadCell.c (.../LoadCell.c) (revision 2fff37fa585181917705645494549b5fd4a4d522) +++ firmware/App/Controllers/LoadCell.c (.../LoadCell.c) (revision 89259a1e69799a051874afaf351c37091bef26da) @@ -44,7 +44,7 @@ #define LOAD_CELL_ADC_ERROR_PERSISTENCE 500 ///< Alarm persistence period (in ms) for load cell ADC errors. #define EMPTY_RESERVOIR_WEIGHT_GRAMS 1600 ///< Reservoirs empty weight in grams. -#define MAX_ALLOWED_EXTRA_WEIGHT_BEFORE_TARE_GRAMS 300 ///< Max allowed extra weight before tare in grams. +#define MAX_ALLOWED_EXTRA_WEIGHT_BEFORE_TARE_GRAMS 150 ///< Max allowed extra weight before tare in grams. /// Load cell data structure. typedef struct @@ -281,7 +281,7 @@ F32 weight = getLoadCellSmallFilteredWeight( loadCellID ); // Check if the load cell is being tared for the first time - if ( fabs(loadcells[ loadCellID ].autoCalOffset) < NEARLY_ZERO ) + if ( fabs(loadcells[ loadCellID ].autoCalOffset ) < NEARLY_ZERO ) { // 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