Index: firmware/App/Drivers/TemperatureSensors.c =================================================================== diff -u -re6504e7e162d00745033a55191d6f810d2753105 -r325e67dab10f6666702bf0f1256015b31e58de4f --- firmware/App/Drivers/TemperatureSensors.c (.../TemperatureSensors.c) (revision e6504e7e162d00745033a55191d6f810d2753105) +++ firmware/App/Drivers/TemperatureSensors.c (.../TemperatureSensors.c) (revision 325e67dab10f6666702bf0f1256015b31e58de4f) @@ -117,10 +117,10 @@ tempSensors[ D1_TEMP ].zeroDegreeResistance = PRIMARY_HEATER_TEMP_SENSORS_0_DEGREE_RESISTANCE; tempSensors[ D1_TEMP ].maxAllowedTemp = TEMP_SENSORS_MAX_ALLOWED_DEGREE_C; - tempSensors[ X6_TEMP ].gain = PRIMARY_HEATER_TEMP_SENSORS_GAIN; - tempSensors[ X6_TEMP ].refResistance = PRIMARY_HEATER_TEMP_SENSORS_REF_RESISTANCE; - tempSensors[ X6_TEMP ].zeroDegreeResistance = PRIMARY_HEATER_TEMP_SENSORS_0_DEGREE_RESISTANCE; - tempSensors[ X6_TEMP ].maxAllowedTemp = TEMP_SENSORS_MAX_ALLOWED_DEGREE_C; + tempSensors[ D78_TEMP ].gain = PRIMARY_HEATER_TEMP_SENSORS_GAIN; + tempSensors[ D78_TEMP ].refResistance = PRIMARY_HEATER_TEMP_SENSORS_REF_RESISTANCE; + tempSensors[ D78_TEMP ].zeroDegreeResistance = PRIMARY_HEATER_TEMP_SENSORS_0_DEGREE_RESISTANCE; + tempSensors[ D78_TEMP ].maxAllowedTemp = TEMP_SENSORS_MAX_ALLOWED_DEGREE_C; tempSensors[ D4_TEMP ].gain = PRIMARY_HEATER_TEMP_SENSORS_GAIN; tempSensors[ D4_TEMP ].refResistance = PRIMARY_HEATER_TEMP_SENSORS_REF_RESISTANCE; @@ -186,7 +186,7 @@ //Read temperature sensors processTempSnsrsADCRead( D1_TEMP, getFPGAD1Temp() ); - processTempSnsrsADCRead( X6_TEMP, getFPGAX6Temp() ); + processTempSnsrsADCRead( D78_TEMP, getFPGAD78Temp() ); processTempSnsrsADCRead( D4_TEMP, getFPGAD4Temp() ); processTempSnsrsADCRead( D50_TEMP, getFPGAD50Temp() ); @@ -311,7 +311,7 @@ switch( sensorIndex ) { case D1_TEMP: - case X6_TEMP: + case D78_TEMP: case D4_TEMP: case D50_TEMP: temperature = getADC2TempConversion( avgADCReads, (U32)tempSensors [ sensorIndex ].gain, (U32)tempSensors [ sensorIndex ].refResistance, @@ -396,7 +396,7 @@ //calId = CAL_DATA_INLET_HEAT_EXCHANGER_TEMP; break; - case X6_TEMP: + case D78_TEMP: //calId = CAL_DATA_OUTLET_HEAT_EXCHANGER_TEMP; break;