diff options
author | Adrian Keet <arkeet@gmail.com> | 2020-09-02 06:32:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 09:32:30 -0400 |
commit | 37d7742468e71272dfd9acfa8bac79be8eca0460 (patch) | |
tree | 2047083489f038c2857ffe54f8ce3f71d6f3d6af /klippy | |
parent | 7c5b1085310fbb7818d9bb10b5336a975d6dbe12 (diff) | |
download | kutter-37d7742468e71272dfd9acfa8bac79be8eca0460.tar.gz kutter-37d7742468e71272dfd9acfa8bac79be8eca0460.tar.xz kutter-37d7742468e71272dfd9acfa8bac79be8eca0460.zip |
spi_temperature: fix MAX31865 temperature conversion (#3274)
Signed-off-by: Adrian Keet <arkeet@gmail.com>
Diffstat (limited to 'klippy')
-rw-r--r-- | klippy/extras/spi_temperature.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/spi_temperature.py b/klippy/extras/spi_temperature.py index d6f0a2ba..c7ae77a8 100644 --- a/klippy/extras/spi_temperature.py +++ b/klippy/extras/spi_temperature.py @@ -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 |