Index: firmware/App/Drivers/TemperatureSensor.c =================================================================== diff -u -r410afd26b3ae5e372310c696c82f58c59235e10d -r8d272582cbd2cb5fc0c6af0fead2867ce02658b0 --- firmware/App/Drivers/TemperatureSensor.c (.../TemperatureSensor.c) (revision 410afd26b3ae5e372310c696c82f58c59235e10d) +++ firmware/App/Drivers/TemperatureSensor.c (.../TemperatureSensor.c) (revision 8d272582cbd2cb5fc0c6af0fead2867ce02658b0) @@ -350,45 +350,6 @@ /*********************************************************************//** * @brief - * The monitorTemperatureSensors function monitors the temperature sensors' - * temperature value and raises an alarm if any of them are out of range - * for more than the specified time. - * @details \b Inputs: tempSensors - * @details \b Outputs: tempSensors - * @details \b Alarms: ALARM_ID_DD_TEMPERATURE_SENSOR_OUT_OF_RANGE when the - * measured temperature exceeds the maximum limit temperature. - * @return none - *************************************************************************/ -void monitorTemperatureSenors( void ) -{ -// TEMPERATURE_SENSOR_T sensorId; -// TEMPERATURE_SENSOR_T sensorInAlarm = TEMPSENSORS_FIRST; -// F32 temperature = 0.0F; -// BOOL isTemperatureOutOfRange = FALSE; -// F32 alarmTemperature = 0.0F; -// -// for ( sensorId = TEMPSENSORS_FIRST; sensorId < NUM_OF_TEMPERATURE_SENSORS; sensorId++ ) -// { -// // Get temperature value. -// temperature = getTemperatureValue( sensorId ); -// // Check both temperature and to be in range -// if ( ( ( temperature < TEMP_SENSORS_MIN_ALLOWED_DEGREE_C ) || ( temperature > tempSensors[ sensorId ].maxAllowedTemp ) ) && -// ( getCurrentOperationMode() != DD_MODE_INIT ) ) -// { -// isTemperatureOutOfRange |= TRUE; -// sensorInAlarm = sensorId; -// alarmTemperature = temperature; -// } -// } -// -// checkPersistentAlarm( ALARM_ID_DD_TEMPERATURE_SENSOR_OUT_OF_RANGE, isTemperatureOutOfRange, sensorInAlarm, alarmTemperature ); -// -// //check freshness of temperature read -// checkTemperatureSensors(); -} - -/*********************************************************************//** - * @brief * The getCalibrationAppliedTemperatureValue function applies the calibration * values to the provided temperature value * @details \b Inputs: tempSensorCalRecord