From e0395c69aacc51c807129164e616e32f42c57a97 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sat, 19 Dec 2020 10:38:50 -0500 Subject: [PATCH] temperature_mcu: Fix slope on stm32f1 The stm32f103 has a negative temperature slope. Signed-off-by: Kevin O'Connor --- klippy/extras/temperature_mcu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klippy/extras/temperature_mcu.py b/klippy/extras/temperature_mcu.py index 1d05e75b..cb095d88 100644 --- a/klippy/extras/temperature_mcu.py +++ b/klippy/extras/temperature_mcu.py @@ -108,7 +108,7 @@ class PrinterTemperatureMCU: def config_samd51(self): self.config_samd21(addr=0x00800100) def config_stm32f1(self): - self.slope = 3.3 / .004300 + self.slope = 3.3 / -.004300 self.base_temperature = self.calc_base(25., 1.43 / 3.3) def config_stm32f2(self): self.slope = 3.3 / .002500