Index: firmware/App/Controllers/LoadCell.c =================================================================== diff -u -rc081112c61e0d85854e8f1e604ac7f1f37c2ec02 -r1d44cf33cf4461b81b19a8ab0e402c609649786b --- firmware/App/Controllers/LoadCell.c (.../LoadCell.c) (revision c081112c61e0d85854e8f1e604ac7f1f37c2ec02) +++ firmware/App/Controllers/LoadCell.c (.../LoadCell.c) (revision 1d44cf33cf4461b81b19a8ab0e402c609649786b) @@ -30,8 +30,8 @@ #define LOAD_CELL_SAMPLES_TO_AVERAGE LOAD_CELL_REPORT_PERIOD ///< Averaging load cell data over the reporting interval. #define LOAD_CELL_AVERAGE_MULTIPLIER (1.0 / (F32)LOAD_CELL_SAMPLES_TO_AVERAGE) ///< Optimization - multiplying is faster than dividing. // TODO - gain and offset for load cells should be read from NV Data calibration record. -#define ADC2GRAM (0.0894 * 1.1338) // Conversion factor from ADC counts to grams. Division for averaging is folded into this value. -#define LOAD_CELL_ZERO_OFFSET -1018.02 // Zero offset (in grams). TODO - right now, this is empty reservoir weight. +#define ADC2GRAM (0.0894 * 1.1338) ///< Conversion factor from ADC counts to grams. Division for averaging is folded into this value. +#define LOAD_CELL_ZERO_OFFSET -1215.0 ///< Zero offset (in grams). TODO - right now, this is empty reservoir weight. // ********** private data **********