Index: firmware/App/Controllers/Temperatures.c =================================================================== diff -u -r0b0cfd7e0f84f89b3a428cf77334e2d76b13a6a9 -rfb1673d2282822995ed233f3e9ea5dfb0567780d --- firmware/App/Controllers/Temperatures.c (.../Temperatures.c) (revision 0b0cfd7e0f84f89b3a428cf77334e2d76b13a6a9) +++ firmware/App/Controllers/Temperatures.c (.../Temperatures.c) (revision fb1673d2282822995ed233f3e9ea5dfb0567780d) @@ -120,16 +120,15 @@ * The execTemperaturesSelfTest function runs the temperatures POST during * the self-test. * @details Inputs: none - * @details Outputs: none - * @return execTemperaturesSelfTest which is the status of the self test + * @details Outputs: temperaturesCalRecord + * @return TRUE if the self test passed otherwise, FALSE *************************************************************************/ SELF_TEST_STATUS_T execTemperaturesSelfTest( void ) { SELF_TEST_STATUS_T result = SELF_TEST_STATUS_IN_PROGRESS; + BOOL calStatus = getNVRecord2Driver( GET_CAL_TEMPERATURE_SESNORS, (U08*)&temperaturesCalRecord, sizeof( HD_TEMP_SENSORS_CAL_RECORD_T ), + NUM_OF_CAL_DATA_HD_TEMP_SENSORS, ALARM_ID_NO_ALARM ); - BOOL calStatus = getNVRecord2Driver( GET_CAL_TEMPERATURE_SESNORS, (U08*)&temperaturesCalRecord, sizeof( HD_TEMP_SENSORS_CAL_RECORD_T ), - NUM_OF_CAL_DATA_HD_TEMP_SENSORS, ALARM_ID_NO_ALARM ); - if ( TRUE == calStatus ) { result = SELF_TEST_STATUS_PASSED; @@ -190,8 +189,8 @@ /*********************************************************************//** * @brief - * The getThermistorTemperatureValue function returns the temperature of - * a requested thermistor or temperature sensor. + * The getTemperatureValue function returns the temperature of a requested + * thermistor or a temperature sensor. * @details Inputs: thermistorsStatus * @details Outputs: none * @param sensorID index to get its temperature value