Index: firmware/App/Controllers/Pressures.c =================================================================== diff -u -r7a7e7c48dbad306ba09bd86d8b2fbf2fb0399340 -r748fbe2e4347126645d229f9dfed45de55526ef7 --- firmware/App/Controllers/Pressures.c (.../Pressures.c) (revision 7a7e7c48dbad306ba09bd86d8b2fbf2fb0399340) +++ firmware/App/Controllers/Pressures.c (.../Pressures.c) (revision 748fbe2e4347126645d229f9dfed45de55526ef7) @@ -52,13 +52,13 @@ NUM_OF_PRESSURE_STATES ///< Number of pressure monitor states } PRESSURE_STATE_T; -/// Defined states for the pressures self test state machine. +/// Defined states for the pressures self-test state machine. typedef enum Pressures_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 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 self-test states } PRESSURE_SELF_TEST_STATE_T; // ********** private data ********** @@ -73,8 +73,8 @@ static S32 measuredPressureReadingsSum[ NUM_OF_PRESSURE_SENSORS ]; ///< Raw pressure sensor sums for averaging. static U32 pressureFilterCounter = 0; ///< Used to schedule pressure sensor filtering. -static PRESSURE_SELF_TEST_STATE_T pressuresSelfTestState; ///< Current pressure self test state. -static SELF_TEST_STATUS_T pressuresSelfTestResult; ///< Self test result of the Pressures module. +static PRESSURE_SELF_TEST_STATE_T pressuresSelfTestState; ///< Current pressure self-test state. +static SELF_TEST_STATUS_T pressuresSelfTestResult; ///< Self-test result of the Pressures module. // ********** private function prototypes ********** @@ -343,7 +343,7 @@ /*********************************************************************//** * @brief - * The execPressureSelfTest function executes the pressures self test's state machine. + * The execPressureSelfTest function executes the pressures self-test's state machine. * @details * Inputs : pressuresSelfTestState * Outputs : pressuresSelfTestState @@ -364,7 +364,7 @@ break; case PRESSURE_TEST_STATE_COMPLETE: - // Done with self test + // Done with self-test break; default: @@ -382,7 +382,7 @@ * or equals zero, it will throw an alarm. * @details * Inputs : ADC reading for RO pump inlet pressure sensor - * Outputs : Performed ADC check self test. + * Outputs : Performed ADC check self-test. * @return result (SELF_TEST_STATUS_T) *************************************************************************/ static SELF_TEST_STATUS_T handleSelfTestADCCheck( void )