Index: firmware/App/Controllers/Pressures.c =================================================================== diff -u -r256d5cb05f1ef09e19e2f2733a111f600c73a7ee -r3522b1667b4b156ea14aa90f83b7d1d23d9d5d5b --- firmware/App/Controllers/Pressures.c (.../Pressures.c) (revision 256d5cb05f1ef09e19e2f2733a111f600c73a7ee) +++ firmware/App/Controllers/Pressures.c (.../Pressures.c) (revision 3522b1667b4b156ea14aa90f83b7d1d23d9d5d5b) @@ -38,8 +38,8 @@ // ********** private definitions ********** #define PUMP_PRESSURE_ZERO 777 ///< ADC counts equivalent to 0 PSI for pump in/out pressure sensors. -#define PUMP_PRESSURE_PSIA_PER_COUNT 0.06434F ///< PSIA per ADC count conversion factor for pump in/out pressure sensors. -#define PUMP_PRESSURE_PSIA_TO_PSI_OFFSET 14.7F ///< Subtract this offset to convert PSIA to PSI. TODO - use barometric sensor when available. +#define PUMP_PRESSURE_PSIA_PER_COUNT 0.06583F ///< PSIA per ADC count conversion factor for pump in/out pressure sensors. +#define PUMP_PRESSURE_PSIA_TO_PSI_OFFSET 14.7F ///< Subtract this offset to convert PSIA to PSI. #define ONE_BAR_TO_PSI_CONVERSION 14.5F ///< 1 bar to PSI conversion. #define ONE_BAR_TO_MILLI_BAR 1000 ///< 1 bar to milli bar conversion. #define COUNTS_TO_MILLI_BAR 100 ///< Counts to milli bar conversion.