From 0f94f6c8e3a6f95396729177ae925e6436320ac4 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 21 Apr 2025 13:43:18 -0400 Subject: [PATCH] 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 --- klippy/extras/heaters.py | 4 ++-- 1 file 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 +# Copyright (C) 2016-2025 Kevin O'Connor # # 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