aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2025-04-21 13:43:18 -0400
committerKevin O'Connor <kevin@koconnor.net>2025-04-28 19:28:52 -0400
commit0f94f6c8e3a6f95396729177ae925e6436320ac4 (patch)
treecbcfe735c153a4ccebc94a5f33993d4c8594a9e0
parentc917bd893dc714ccf272962ae0078c352b4c0948 (diff)
downloadkutter-0f94f6c8e3a6f95396729177ae925e6436320ac4.tar.gz
kutter-0f94f6c8e3a6f95396729177ae925e6436320ac4.tar.xz
kutter-0f94f6c8e3a6f95396729177ae925e6436320ac4.zip
heaters: Confirm heater setting in mcu every 3 seconds instead of 5
Increase the confirmation rate of heater enable settings. This allows the mcu to utilize faster internal speeds. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--klippy/extras/heaters.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/extras/heaters.py b/klippy/extras/heaters.py
index 14543542..5cbc27e4 100644
--- a/klippy/extras/heaters.py
+++ b/klippy/extras/heaters.py
@@ -1,6 +1,6 @@
# Tracking of PWM controlled heaters and their temperature control
#
-# Copyright (C) 2016-2020 Kevin O'Connor <kevin@koconnor.net>
+# Copyright (C) 2016-2025 Kevin O'Connor <kevin@koconnor.net>
#
# This file may be distributed under the terms of the GNU GPLv3 license.
import os, logging, threading
@@ -11,7 +11,7 @@ import os, logging, threading
######################################################################
KELVIN_TO_CELSIUS = -273.15
-MAX_HEAT_TIME = 5.0
+MAX_HEAT_TIME = 3.0
AMBIENT_TEMP = 25.
PID_PARAM_BASE = 255.
MAX_MAINTHREAD_TIME = 5.0