Merge pull request #10676 from man-deli/max31865_incorrect_fahrenheit

MAX31865 Fahrenheit Units Display Incorrectly
This commit is contained in:
Theo Arends 2021-01-23 17:26:17 +01:00 committed by GitHub
commit 36de07415e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
}