Index: firmware/App/Controllers/TemperatureSensors.c =================================================================== diff -u -r3e5c98eae83ce4efe2b36031d4e920bbf71fd098 -r748fbe2e4347126645d229f9dfed45de55526ef7 --- firmware/App/Controllers/TemperatureSensors.c (.../TemperatureSensors.c) (revision 3e5c98eae83ce4efe2b36031d4e920bbf71fd098) +++ firmware/App/Controllers/TemperatureSensors.c (.../TemperatureSensors.c) (revision 748fbe2e4347126645d229f9dfed45de55526ef7) @@ -75,14 +75,14 @@ #define MAX_TEMPERATURE_SENSOR_FAILURES 10 ///< Maximum number of temperature sensor errors within window period before alarm. #define MAX_TEMPERATURE_SENSOR_FAILURE_WINDOW_MS (10 * MS_PER_SECOND) ///< Temperature sensor error window. -/// Temperature sensor self test states. +/// Temperature sensor self-test states. typedef enum tempSensors_Self_Test_States { - TEMPSENSORS_SELF_TEST_START = 0, ///< Temperature sensors self test start + TEMPSENSORS_SELF_TEST_START = 0, ///< Temperature sensors self-test start TEMPSENSORS_SELF_TEST_ADC_CHECK, ///< Temperature sensors self ADC check - TEMPSENSORS_SELF_TEST_CONSISTENCY_CHECK, ///< Temperature sensors self test consistency check - TEMPSENSORS_SELF_TEST_COMPLETE, ///< Temperature sensors self test complete - NUM_OF_TEMPSENSORS_SELF_TEST_STATES ///< Total number of self test states + TEMPSENSORS_SELF_TEST_CONSISTENCY_CHECK, ///< Temperature sensors self-test consistency check + TEMPSENSORS_SELF_TEST_COMPLETE, ///< Temperature sensors self-test complete + NUM_OF_TEMPSENSORS_SELF_TEST_STATES ///< Total number of self-test states } TEMPSENSORS_SELF_TEST_STATES_T; /// Temperature sensor exec states. @@ -113,8 +113,8 @@ // ********** private data ********** -static SELF_TEST_STATUS_T tempSensorsSelfTestResult; ///< Self test result of the TemperatureSensors module. -static TEMPSENSORS_SELF_TEST_STATES_T tempSensorsSelfTestState; ///< TemperatureSensor self test state. +static SELF_TEST_STATUS_T tempSensorsSelfTestResult; ///< Self-test result of the TemperatureSensors module. +static TEMPSENSORS_SELF_TEST_STATES_T tempSensorsSelfTestState; ///< TemperatureSensor self-test state. static TEMPSENSORS_EXEC_STATES_T tempSensorsExecState; ///< TemperatureSensor exec state. static TEMP_SENSOR_T tempSensors [ NUM_OF_TEMPERATURE_SENSORS ]; ///< Temperature sensors' data structure. @@ -246,7 +246,7 @@ /*********************************************************************//** * @brief * The execTemperatureSensorsSelfTest function runs the TemperatureSensors - * POST during the self test + * POST during the self-test. * @details * Inputs : tempSensorsSelfTestState * Outputs : tempSensorsSelfTestState @@ -269,7 +269,7 @@ break; case TEMPSENSORS_SELF_TEST_COMPLETE: - // Done with self test, do nothing + // Done with self-test, do nothing break; default: @@ -596,7 +596,7 @@ /*********************************************************************//** * @brief - * The handleSelfTestStart function transitions the self test state to check ADC. + * The handleSelfTestStart function transitions the self-test state to check ADC. * @details * Inputs : tempSensorsSelfTestResult * Outputs : none