Index: firmware/App/Controllers/Heaters.c =================================================================== diff -u -r7b9a8c0cb9986368e1e38fcdb9daaf3cf707dfd2 -r3114b2e80bd3398c9b6442fdf5b0820f8b5af662 --- firmware/App/Controllers/Heaters.c (.../Heaters.c) (revision 7b9a8c0cb9986368e1e38fcdb9daaf3cf707dfd2) +++ firmware/App/Controllers/Heaters.c (.../Heaters.c) (revision 3114b2e80bd3398c9b6442fdf5b0820f8b5af662) @@ -490,36 +490,28 @@ * @details \b Outputs: none * @details \b Alarms: ALARM_ID_DD_MAIN_PRIMARY_HEATER_VOLTAGE_OUT_OF_RANGE when * primary heater voltage found out of range. - * @details \b Alarms: ALARM_ID_DD_TRIMMER_HEATER_VOLTAGE_OUT_OF_RANGE when - * trimmer heater voltage found out of range. * @return none *************************************************************************/ //static void monitorHeatersVoltage( void ) //{ // F32 mainPriVoltage = getMonitoredLineLevel( MONITORED_LINE_24V_GND_MAIN_PRIM_HTR_V ); -// F32 trimmerVoltage = getMonitoredLineLevel( MONITORED_LINE_24V_GND_TRIM_HTR_V ); // // // Voltage to PWM is reverse. If PWM = 0 -> V = 24V // F32 mainPriDC = getHeaterControl( DD_PRIMARY_HEATER ); -// F32 trimmerDC = getHeaterControl( DD_TRIMMER_HEATER ); // // // The expected voltage is the inverse of the duty cycle // F32 mainPriExpectedVoltage = HEATERS_MAX_OPERATING_VOLTAGE_V * ( 1.0F - mainPriDC ); -// F32 trimmerExpectedVoltage = HEATERS_MAX_OPERATING_VOLTAGE_V * ( 1.0F - trimmerDC ); // // BOOL isMainPriOut = FALSE; -// BOOL isTrimmerOut = FALSE; // // // If the system is DVT, check the FPGA persistent alarm of the main primary heater's voltage ADC // checkFPGAPersistentAlarms( FPGA_PERS_ERROR_MAIN_PRIMARY_HEATER_VOLTAGE_ADC, getFPGAHeaterGateADCReadCount() ); // // isMainPriOut = ( fabs( mainPriExpectedVoltage - mainPriVoltage ) > HEATERS_VOLTAGE_TOLERANCE_V ? TRUE : FALSE ); -// isTrimmerOut = ( fabs( trimmerExpectedVoltage - trimmerVoltage ) > HEATERS_VOLTAGE_TOLERANCE_V ? TRUE : FALSE ); // // if ( getCurrentOperationMode() != DD_MODE_INIT ) // { // checkPersistentAlarm( ALARM_ID_DD_MAIN_PRIMARY_HEATER_VOLTAGE_OUT_OF_RANGE, isMainPriOut, mainPriDC, HEATERS_VOLTAGE_TOLERANCE_V ); -// checkPersistentAlarm( ALARM_ID_DD_TRIMMER_HEATER_VOLTAGE_OUT_OF_RANGE, isTrimmerOut, trimmerDC, HEATERS_VOLTAGE_TOLERANCE_V ); // } //}