Index: firmware/App/Controllers/LoadCell.c =================================================================== diff -u -r31aa23b12f37b9d16b5160369ccb7dab6c6eca4d -r2e8f3ec597cde3a18d286e05ea34dddc4f79172a --- firmware/App/Controllers/LoadCell.c (.../LoadCell.c) (revision 31aa23b12f37b9d16b5160369ccb7dab6c6eca4d) +++ firmware/App/Controllers/LoadCell.c (.../LoadCell.c) (revision 2e8f3ec597cde3a18d286e05ea34dddc4f79172a) @@ -52,14 +52,14 @@ #define MAX_ALLOWED_EXTRA_WEIGHT_BEFORE_FIRST_TARE_GRAMS 300 ///< Max allowed extra weight before first tare in grams. #define MAX_ALLOWED_EXTRA_WEIGHT_BEFORE_TARE_GRAMS 60 ///< Max allowed extra weight before tare in grams. #define LOAD_CELL_PRIMARY_BACKUP_MAX_ALLOWED_DRIFT_GRAMS 60.0 ///< Load cell primary and backup maximum allowed weight drift in grams. -#define DATA_PUBLISH_COUNTER_START_COUNT 15 ///< Data publish counter start count. +#define DATA_PUBLISH_COUNTER_START_COUNT 0 ///< Data publish counter start count. /// Load cell data structure. typedef struct { - U32 rawReading; ///< Latest raw load cell reading - OVERRIDE_F32_T weight; ///< Latest load cell weight - F32 autoCalOffset; ///< Load cell auto-calibration offset + U32 rawReading; ///< Latest raw load cell reading. + OVERRIDE_F32_T weight; ///< Latest load cell weight. + F32 autoCalOffset; ///< Load cell auto-calibration offset. F32 loadCellVelocity_g_min; ///< Velocity (in g/min) of load cell. F32 smallFilterReadings[ SIZE_OF_SMALL_LOAD_CELL_AVG ]; ///< Load cell samples for small load cell moving average. @@ -264,7 +264,7 @@ * It gets the calibration record from NVDataMgmt and checks whether the * values have a calibration date. * @details Inputs: none - * @details Outputs: + * @details Outputs: loadCellsCalRecord * @return result of the load cell self test *************************************************************************/ SELF_TEST_STATUS_T execLoadCellsSelfTest ( void )