mirror of https://github.com/arendst/Tasmota.git
Merge pull request #10676 from man-deli/max31865_incorrect_fahrenheit
MAX31865 Fahrenheit Units Display Incorrectly
This commit is contained in:
commit
36de07415e
|
@ -79,7 +79,7 @@ void MAX31865_GetResult(void) {
|
|||
rtd = max31865[i].readRTD();
|
||||
MAX31865_Result[i].Rtd = rtd;
|
||||
MAX31865_Result[i].PtdResistance = max31865[i].rtd_to_resistance(rtd, MAX31865_REF_RES);
|
||||
MAX31865_Result[i].PtdTemp = max31865[i].rtd_to_temperature(rtd, MAX31865_PTD_RES, MAX31865_REF_RES) + MAX31865_PTD_BIAS;
|
||||
MAX31865_Result[i].PtdTemp = ConvertTemp(max31865[i].rtd_to_temperature(rtd, MAX31865_PTD_RES, MAX31865_REF_RES) + MAX31865_PTD_BIAS);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue