aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-12-19 10:38:50 -0500
committerKevin O'Connor <kevin@koconnor.net>2020-12-19 10:38:50 -0500
commite0395c69aacc51c807129164e616e32f42c57a97 (patch)
tree3bbae6e84daf1bd179ebb6c86956d4fde419c29e /klippy/extras
parent49f1ee0207e8a4bf8bf91220370c0975807be473 (diff)
downloadkutter-e0395c69aacc51c807129164e616e32f42c57a97.tar.gz
kutter-e0395c69aacc51c807129164e616e32f42c57a97.tar.xz
kutter-e0395c69aacc51c807129164e616e32f42c57a97.zip
temperature_mcu: Fix slope on stm32f1
The stm32f103 has a negative temperature slope. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras')
-rw-r--r--klippy/extras/temperature_mcu.py2
1 files changed, 1 insertions, 1 deletions
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