Index: firmware/App/Controllers/BloodLeak.h =================================================================== diff -u -rdb291cc22fd8f10e6e47cad468e14ed5590a94f2 -rbb643418e1f0c59ca3ee75c642aaa1f31850069e --- firmware/App/Controllers/BloodLeak.h (.../BloodLeak.h) (revision db291cc22fd8f10e6e47cad468e14ed5590a94f2) +++ firmware/App/Controllers/BloodLeak.h (.../BloodLeak.h) (revision bb643418e1f0c59ca3ee75c642aaa1f31850069e) @@ -14,33 +14,33 @@ * @date (original) 18-Mar-2021 * ***************************************************************************/ - -#ifndef __BLOOD_LEAK_H__ -#define __BLOOD_LEAK_H__ - -#include "HDCommon.h" - -/** - * @defgroup BloodLeak BloodLeak - * @brief Blood Leak detector monitor module. Monitors the - * blood leak detector. + +#ifndef __BLOOD_LEAK_H__ +#define __BLOOD_LEAK_H__ + +#include "HDCommon.h" + +/** + * @defgroup BloodLeak BloodLeak + * @brief Blood Leak detector monitor module. Monitors the + * blood leak detector. * * INTROTEK - Blood Component Detector Part No. 105-0002 - * - * @addtogroup BloodLeak - * @{ - */ - -// ********** public definitions ********** - -/// Enumeration of blood leak detector status. -typedef enum BloodLeakDetectorStatus -{ - BLOOD_LEAK_DETECTED = 0, ///< Blood leak detector senses blood - BLOOD_LEAK_NOT_DETECTED, ///< Blood leak detector does not sense any blood - NUM_OF_BLOOD_LEAK_STATUS ///< Number of blood leak detector status -} BLOOD_LEAK_STATUS_T; + * + * @addtogroup BloodLeak + * @{ + */ +// ********** public definitions ********** + +/// Enumeration of blood leak detector status. +typedef enum BloodLeakDetectorStatus +{ + BLOOD_LEAK_DETECTED = 0, ///< Blood leak detector senses blood. + BLOOD_LEAK_NOT_DETECTED, ///< Blood leak detector does not sense any blood. + NUM_OF_BLOOD_LEAK_STATUS ///< Number of blood leak detector status. +} BLOOD_LEAK_STATUS_T; + /// Blood leak detector data publish typedef struct { @@ -50,8 +50,8 @@ U32 bloodLeakSerialCommState; ///< Blood leak detector serial communication state. } BLOOD_LEAK_DATA_T; -// ********** public function prototypes ********** - +// ********** public function prototypes ********** + void initBloodLeak( void ); void execBloodLeak( void ); void execBloodLeakEmbModeCommand( void ); @@ -62,19 +62,19 @@ void exitBloodLeakNormalState( void ); SELF_TEST_STATUS_T execBloodLeakSelfTest( void ); - + BLOOD_LEAK_STATUS_T getBloodLeakStatus( void ); SELF_TEST_STATUS_T getBloodLeakSelfTestStatus( void ); -BOOL testSetBloodLeakDataPublishIntervalOverride( U32 value ); +BOOL testSetBloodLeakDataPublishIntervalOverride( U32 value ); BOOL testResetBloodLeakDataPublishIntervalOverride( void ); - -BOOL testSetBloodLeakStatusOverride( BLOOD_LEAK_STATUS_T status ); + +BOOL testSetBloodLeakStatusOverride( BLOOD_LEAK_STATUS_T status ); BOOL testResetBloodLeakStatusOverride( void ); BOOL testSetBloodLeak2EmbeddedMode( void ); BOOL testSetBloodLeakEmbeddedModeCommand( U08 command, U16 setPointPayload ); -/**@}*/ - -#endif +/**@}*/ + +#endif