Index: firmware/App/Controllers/Thermistors.c =================================================================== diff -u -r1f500f8e6159a3fbab85ea68389e918a6df66400 -rd00ad426d849083922332f832e88e7137a1cad60 --- firmware/App/Controllers/Thermistors.c (.../Thermistors.c) (revision 1f500f8e6159a3fbab85ea68389e918a6df66400) +++ firmware/App/Controllers/Thermistors.c (.../Thermistors.c) (revision d00ad426d849083922332f832e88e7137a1cad60) @@ -430,7 +430,7 @@ F32 const thermistorVoltage = adcValue * onBoardThermistorVoltageConvCoeff; // Calculate the thermistor resistor by solving: thermistorVoltage = (3 x 10) / (10 + R(T)) F32 const thermistorResistor = ( ( ONBOARD_THERMISTOR_REFERENCE_RESISTOR * ONBOARD_THERMISTOR_SOURCE_VOLTAGE ) - - ( ONBOARD_THERMISTOR_REFERENCE_RESISTOR * thermistorVoltage ) ) / thermistorVoltage; + ( ONBOARD_THERMISTOR_REFERENCE_RESISTOR * thermistorVoltage ) ) / thermistorVoltage; // 1/T = Ln(thermistorResistor/10)/3380 + 1/298 F32 const InvTemperature = ( logf( thermistorResistor / ONBOARD_THERMISTOR_REFERENCE_RESISTOR ) * onBoardThermistorBetaValueInv ) + onBoardThermistorRefTempInv;