Index: PressureCommon.h =================================================================== diff -u -r9bd7299479e7ac304483a309544173beea24557d -r34e9d24b76d786a5d3bba641f06e7764439c161e --- PressureCommon.h (.../PressureCommon.h) (revision 9bd7299479e7ac304483a309544173beea24557d) +++ PressureCommon.h (.../PressureCommon.h) (revision 34e9d24b76d786a5d3bba641f06e7764439c161e) @@ -14,20 +14,20 @@ * @date (original) 22-Aug-2024 * ***************************************************************************/ - -#ifndef __PRESSURE_COMMON_H__ -#define __PRESSURE_COMMON_H__ -#ifdef _TD_ +#ifndef __PRESSURE_COMMON_H__ +#define __PRESSURE_COMMON_H__ + +#ifdef _TD_ #include "TDCommon.h" #endif #ifdef _DD_ #include "DDCommon.h" #endif #ifdef _RO_ #include "ROCommon.h" -#endif - +#endif + /** * @defgroup PressureCommon PressureCommon * @brief The Pressure Sensor unit provides common conversion functions for @@ -37,14 +37,14 @@ * @{ */ -// ********** public definitions ********** - - -// ********** public function prototypes ********** - -F32 convertPressureReading2mmHg( S16 counts ); +// ********** public definitions ********** + + +// ********** public function prototypes ********** + +F32 convertPressureReading( S16 counts, F32 min, F32 max ); F32 convertPressureTempReading2DegC( S16 counts ); - + /**@}*/ -#endif +#endif