spi_temperature: fix MAX31865 temperature conversion (#3274)

Signed-off-by: Adrian Keet <arkeet@gmail.com>
This commit is contained in:
Adrian Keet
2020-09-02 06:32:30 -07:00
committed by GitHub
parent 7c5b108531
commit 37d7742468
2 changed files with 5 additions and 1 deletions

View File

@@ -268,7 +268,7 @@ MAX31865_FAULT_RTDINLOW = 0x08
MAX31865_FAULT_OVUV = 0x04
VAL_A = 0.00390830
VAL_B = 0.0000005775
VAL_B = -0.0000005775
VAL_C = -0.00000000000418301
VAL_ADC_MAX = 32768.0 # 2^15