Index: firmware/App/Monitors/Pressure.c =================================================================== diff -u -rfefb47e88a5285e99498efb830fdceb9e95c2c3e -re3699de422fa3ba1b8145c4cc44257702c9e336f --- firmware/App/Monitors/Pressure.c (.../Pressure.c) (revision fefb47e88a5285e99498efb830fdceb9e95c2c3e) +++ firmware/App/Monitors/Pressure.c (.../Pressure.c) (revision e3699de422fa3ba1b8145c4cc44257702c9e336f) @@ -297,15 +297,17 @@ * calibration applied to it. * @details \b Inputs: none * @details \b Outputs: none - * @return next state + * @param sensor sesnor id for the calibration to be applied for + * @param pressure pressure (mmHG) to be converted in PSI + * @return converted pressure in PSI. *************************************************************************/ static F32 getConvertedPressure( PRESSURE_SENSORS_T sensor, F32 pressure ) { F32 baroPressurePSI = getPressure( PRESSURE_SENSOR_BAROMETRIC ) * MMHG_TO_PSI_CONVERSION; F32 pressurePSI = pressure * MMHG_TO_PSI_CONVERSION; // calibrated pressure - //F32 calPressure = getCalibrationAppliedPressure( sensor, gaugePressure ); + //F32 calPressure = getCalibrationAppliedPressure( sensor, pressurePSI ); return pressurePSI; }