Index: firmware/App/Controllers/LoadCell.c =================================================================== diff -u -rd70d93528b59ef7b09032a3bf4128bee0ff6e297 -r0a5f3d17511269db6b3cd25b3ee0e8d77cb79922 --- firmware/App/Controllers/LoadCell.c (.../LoadCell.c) (revision d70d93528b59ef7b09032a3bf4128bee0ff6e297) +++ firmware/App/Controllers/LoadCell.c (.../LoadCell.c) (revision 0a5f3d17511269db6b3cd25b3ee0e8d77cb79922) @@ -7,8 +7,8 @@ * * @file LoadCell.c * -* @author (last) Bill Bracken -* @date (last) 17-Jan-2023 +* @author (last) Dara Navaei +* @date (last) 20-Jan-2023 * * @author (original) Saeed Nejatali * @date (original) 25-Feb-2020 @@ -228,7 +228,7 @@ // Since there is a single alarm value for all 4 load cells the persistence check must be // executed if ANY of the load cell values are out of range. Only when all of the load // cells are in range should the persistence for the alarm be cleared. - weight = getLoadCellWeight( ( LOAD_CELL_ID_T) sensorId ); + weight = getLoadCellWeight( ( LOAD_CELL_ID_T) sensorId ); if ( ( weight < LOAD_CELL_MIN_ALLOWED_WEIGHT_GRAMS ) || ( weight > LOAD_CELL_MAX_ALLOWED_WEIGHT_GRAMS ) ) { isLoadCellOutOfRange = TRUE; @@ -371,7 +371,7 @@ { // Add old auto calibration offset to get back to actual weight value loadcells[ loadCellID ].autoCalOffset = ( loadcells[ loadCellID ].smallFilteredWeight.data + loadcells[ loadCellID ].autoCalOffset ); - hasLoadCellBeenTared[ loadCellID ] = TRUE; + hasLoadCellBeenTared[ loadCellID ] = TRUE; } else {