Index: firmware/App/Controllers/LoadCell.c =================================================================== diff -u -raf75afdbece4925ab5bf6f69355c2343a80852b8 -rf86e5a345112e2f5079cd26447c9c18bb0aadd9b --- firmware/App/Controllers/LoadCell.c (.../LoadCell.c) (revision af75afdbece4925ab5bf6f69355c2343a80852b8) +++ firmware/App/Controllers/LoadCell.c (.../LoadCell.c) (revision f86e5a345112e2f5079cd26447c9c18bb0aadd9b) @@ -89,7 +89,6 @@ // ********** private function prototypes ********** -static void monitorLoadCellsWeightOutOfRange( LOAD_CELL_ID_T loadCell ); static void monitorLoadCellsPrimaryBackupDriftOutOfRange( void ); /*********************************************************************//** @@ -502,25 +501,6 @@ /*********************************************************************//** * @brief - * The monitorLoadCellsWeightOutOfRange function monitors the weight of the - * load cells and if they are not in range, it raises an alarm. - * Function must be called prior to applying tare so that un-tared weight - * is checked for out of range. - * @details Inputs: none - * @details Outputs: none - * @param loadCell which is the load cell ID that its range is checked - * @return none - *************************************************************************/ -static void monitorLoadCellsWeightOutOfRange( LOAD_CELL_ID_T loadCell ) -{ - F32 weight = getLoadCellWeight( loadCell ); - BOOL isWeightOutOfRange = ( ( weight < LOAD_CELL_MIN_ALLOWED_WEIGHT_GRAMS ) || ( weight > LOAD_CELL_MAX_ALLOWED_WEIGHT_GRAMS ) ? TRUE : FALSE ); - - checkPersistentAlarm( ALARM_ID_DG_LOAD_CELL_WEIGHT_OUT_OF_RANGE, isWeightOutOfRange, weight, LOAD_CELL_MAX_ALLOWED_WEIGHT_GRAMS ); -} - -/*********************************************************************//** - * @brief * The monitorLoadCellsPrimaryBackupDriftOutOfRange function monitors the * load cells' primary and backup drift. * @details Inputs: none