Index: PressureCommon.h =================================================================== diff -u -r16f118933184adf7f5362942d069fdc0f7b67f90 -rb3bfdd5c8aee3e2d93cfdf9ca6151dceaed9047d --- PressureCommon.h (.../PressureCommon.h) (revision 16f118933184adf7f5362942d069fdc0f7b67f90) +++ PressureCommon.h (.../PressureCommon.h) (revision b3bfdd5c8aee3e2d93cfdf9ca6151dceaed9047d) @@ -1,33 +1,30 @@ /************************************************************************** * -* Copyright (c) 2024-2024 Diality Inc. - All Rights Reserved. +* Copyright (c) 2024-2025 Diality Inc. - All Rights Reserved. * * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * @file PressureCommon.h * -* @author (last) Vinayakam Mani -* @date (last) 13-Sep-2024 +* @author (last) Sean Nash +* @date (last) 12-Sep-2025 * -* @author (original) Sean -* @date (original) 22-Aug-2024 +* @author (original) Sean Nash +* @date (original) 26-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 - + /** * @defgroup PressureCommon PressureCommon * @brief The Pressure Sensor unit provides common conversion functions for @@ -37,14 +34,13 @@ * @{ */ -// ********** public definitions ********** - - -// ********** public function prototypes ********** - +// ********** public definitions ********** + +// ********** public function prototypes ********** + F32 convertPressureReading( S16 counts, F32 min, F32 max ); F32 convertPressureTempReading2DegC( S16 counts ); - + /**@}*/ -#endif +#endif