Index: firmware/App/Controllers/PresOccl.c =================================================================== diff -u -r4459be59bdc2896b44bcf6cd42d2762190e23c16 -ra3a01327c8fe80f65f6658ae6cbef4910a4a8033 --- firmware/App/Controllers/PresOccl.c (.../PresOccl.c) (revision 4459be59bdc2896b44bcf6cd42d2762190e23c16) +++ firmware/App/Controllers/PresOccl.c (.../PresOccl.c) (revision a3a01327c8fe80f65f6658ae6cbef4910a4a8033) @@ -50,13 +50,13 @@ NUM_OF_PRESSURE_STATES ///< Number of pressure/occlusion monitor states. } PRESSURE_STATE_T; -/// Defined states for the pressure and occlusion self test state machine. +/// Defined states for the pressure and occlusion self-test state machine. typedef enum PresOccl_Self_Test_States { PRESSURE_SELF_TEST_STATE_START = 0, ///< Self test start state. PRESSURE_TEST_STATE_IN_PROGRESS, ///< Self test in progress state. PRESSURE_TEST_STATE_COMPLETE, ///< Self test completed state. - NUM_OF_PRESSURE_SELF_TEST_STATES ///< Number of pressure/occlusion self test states. + NUM_OF_PRESSURE_SELF_TEST_STATES ///< Number of pressure/occlusion self-test states. } PRESSURE_SELF_TEST_STATE_T; // ********** private data ********** @@ -73,8 +73,8 @@ static OVERRIDE_F32_T dialInPumpOcclusion = {0.0, 0.0, 0.0, 0 }; ///< measured dialysate inlet pump occlusion pressure. static OVERRIDE_F32_T dialOutPumpOcclusion = {0.0, 0.0, 0.0, 0 }; ///< measured dialysate outlet pump occlusion pressure. -static PRESSURE_SELF_TEST_STATE_T presOcclSelfTestState = PRESSURE_SELF_TEST_STATE_START; ///< current pressure self test state. -static U32 bloodPumpSelfTestTimerCount = 0; ///< timer counter for pressure self test. +static PRESSURE_SELF_TEST_STATE_T presOcclSelfTestState = PRESSURE_SELF_TEST_STATE_START; ///< current pressure self-test state. +static U32 bloodPumpSelfTestTimerCount = 0; ///< timer counter for pressure self-test. static F32 arterialPressureLowLimitmmHG = 0.0; ///< lower alarm limit for arterial pressure. static F32 arterialPressureHighLimitmmHG = 0.0; ///< upper alarm limit for arterial pressure. @@ -379,17 +379,17 @@ /*********************************************************************//** * @brief * The execPresOcclTest function executes the state machine for the - * PresOccl self test. + * PresOccl self-test. * @details * Inputs : none * Outputs : none - * @return the current state of the PresOccl self test. + * @return the current state of the PresOccl self-test. *************************************************************************/ SELF_TEST_STATUS_T execPresOcclTest( void ) { SELF_TEST_STATUS_T result = SELF_TEST_STATUS_FAILED; - // TODO - implement self test(s) + // TODO - implement self-test(s) return result; }